:root {
	--auth-form-width: 300px;

	--plate-item-height: 375px;
	--plate-item-width: 300px;

	--plate-item-margin: 40px;

	--minimal-partner-section-height: 70vh;

	--add-item-bar-width: 175px;
	--add-item-bar-height: 250px;

    --section-menu-margin: 90px;

    --inbox-message-image-height: 40vh;

    --pg-container-width-lg: 160px;
    --pg-container-margin-lg: var(--page-h-padding);
    --pg-link-height: 30px;
    --pg-link-font-size: 12px;

    --action-color: #333;
    
    --page-back-color: #fff;
}

main {
    padding: var(--page-h-padding);
}

.nowrap {
    overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.send-submit {
    height: 35px;
    line-height: 35px;
    background-color: var(--grey-vlight-color);
    cursor: pointer;
    display: inline-block;
    padding: 0 15px;
}

.send-submit .material-symbols-outlined {
    font-size: inherit;
    line-height: inherit;
}

.font16 { font-size: 14px; }
.font14 { font-size: 12px; }

header.filled {
    border-bottom: 1px solid #eee;
    box-shadow: none;
}

.stem {
	font-family: Stem, sans-serif;
}

.underline { text-decoration: underline; }

main.minimal-height {
	height: var(--minimal-partner-section-height);
}

.black-back.label {
    background-color: var(--grey-light-color);
    padding: 5px;
}

#product-list-container, #articleContainer {
    padding-left: calc(var(--pg-container-width-lg) + var(--pg-container-margin-lg));
}

#product-groups-menu .sub_wrapper + .sub_wrapper { margin-top: 50px; }

#product-groups-menu .sub_wrapper h4 {
    
}

#counteragent-name {
    position: absolute;
    left: 50px;
    top: -49px;
    margin: 0;
}

.auth-form__container {
	padding-top: 40px;
	width: var(--auth-form-width);
}

.auth-form__container h4	{
	margin: 0;
}

.auth-form__container input[type="text"],
.auth-form__container input[type="password"],
 .password-change-wrapper input[type="password"] {
	width: 100%;
	border: 1px solid #e9e7e7;
    padding: 8px 10px;
    /*box-shadow: 1px 1px 1px 1px rgb(238 238 238 / 80%) inset;*/
}

.auth-form__container p.line { margin-bottom: 25px; }

.auth-form__container  .auth-form__controls {
	margin-top: 45px;
}

.transparent-submit {
	background-color: transparent;
	padding: 0;
	border: none;
	font-weight: 600;
}

h1 .small {
	font-size: .5em;
}

/**********************************************/

#product-groups-menu, #product-list-container { padding-top: 50px; }

#product-groups-menu .sub_wrapper { padding-top: 50px; }

#breadCrumbs {
    position: absolute;
    top: calc(var(--page-v-padding-lg) + var(--header-bottom-padding) + var(--logo-height-lg));
    left: var(--page-h-padding-lg);
    z-index: 5;
}

#product-groups-menu, #product-list-container, #articleContainer {
    padding-bottom: var(--section-padding-bottom);
}

#product-groups-menu {
    position: absolute;
    width: var(--pg-container-width-lg);
    margin-top: calc(-.8 * var(--pg-link-font-size));
}

#product-groups-menu .product-group-link {
    display: block;
    padding-left: 0px;
    font-size: var(--pg-link-font-size);
    line-height: var(--pg-link-height);
    height: var(--pg-link-height);
    margin: 0;
    overflow: hidden;
    position: relative;
    transition: .3s ease-out;
}

#product-groups-menu .product-group-link::before {
    content: "";
    position: absolute;
    left: 0;
    width: 0;
    top: 50%;
    height: 1px;
    background-color: var(--body-color);
    transition: .3s ease-out;
}

#product-groups-menu .product-group-link:hover, 
#product-groups-menu .product-group-link.active {
    text-decoration: none;
    padding-left: 30px;
    font-weight: 600;
}

#product-groups-menu .product-group-link:hover::before,
#product-groups-menu .product-group-link.active::before {
    width: 15px;
    opacity: var(--action-opacity2);
}

/**********************************************/

.partner-root-info__discount-area { margin-bottom: 60px;  }

.discount-amount {
    padding: 0px 10px;
    line-height: 32px;
}

.discount-date { line-height: 16px; margin-left: 10px; }

.group-privelegies-wrapper {
	position: absolute;
	top: -25px;
    left: 40px;
	width: 25px;
	height: 25px;
}

.group-privelegies-wrapper.gold svg { fill: rgb(255, 182, 26); fill: rgb(0, 0, 0); }
.group-privelegies-wrapper.silver svg { fill: rgb(209, 209, 209); opacity: 0; }

.partner-root-info__user-section h1 { margin-bottom: 40px; }

p.user-city { margin-bottom: 15px; }

p.user-email { margin: 20px 0px 70px; }

.partner-documents-wrapper .product-item-title-wrapper p {
	margin-bottom: 8px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.user-group-name {
    margin-bottom: 5px;
}

.section-handlers-wrapper {
	left: 0px;
    top: 5px;
    width: 40px;
}

.section-handlers-wrapper .material-symbools-outlined {
	font-size: 24px;
}

.section-handlers-wrapper .handler-wrapper { 
    height: 40px; 
    width: 100%; 
    font-size: 20px;
    padding-left: 5px;
}

.row.wider-padding {
	margin-left: -20px;
	margin-right: -20px;
}

.row.wider-padding [class^="col-"] {
	padding-left: 20px;
	padding-right: 20px;
}

.partner-root-info .user-login {
	padding-top: 25px;
}

/**********************************************/

#notifier {
    position: fixed;
    top: calc(var(--page-v-padding-lg) + var(--logo-height-lg) + var(--header-bottom-padding));
    left: 50%;
    padding: 15px 25px;
    background-color: #dcdcdc;
    font-size: 1.2em;
    box-shadow: 0px 5px 15px 0px rgb(0 0 0 / 10%);
    transform: translateX(-50%);
    opacity: 0;
    /*height: 1px;*/
    z-index: 5;
    margin-top: 30px;
    transition: .3s ease-out .1s;
}

#notifier.shown {
	margin-top: 0px;
	opacity: 1;
	/*height: auto;*/
}

#notifier .closeBtn {
	right: 5px;
	z-index: 100;
}

#notifier .closeBtn .svg-cross {
    width: 10px;
    height: 10px;
}

#notifier.black-back {
    background-color: #000;
}

/**********************************************/

.simple-form {
    width: var(--auth-form-width);
    background-color: #fff;
    padding: 15px;
    /***********/
    padding-top: 20px;
    margin-top: -20px;
    /***********/
    position: absolute;
    top: -15px;
    left: -15px;
    box-shadow: 0px 0px 30px 0px rgb(0 0 0 / 10%);
    z-index: 50;
}

.simple-form .hideForm.topLeft {
    top: 10px;
    left: auto;
    right: 15px;
}

select:focus { outline: none; }

.simple-form h4 { margin-bottom: 30px; font-size: 16px; font-weight: 800; }

.simple-form select {
    height: 35px;
    line-height: 35px;
    padding: 0 10px;
    border: 1px solid var(--grey-light-color);
    font: inherit;
}

.simple-form .collect-data:not([type="checkbox"]) {
	margin-bottom: 20px;
	width: 100%;
    height: 35px;
    line-height: 35px;
    padding: 0 10px;
    border: 1px solid var(--grey-light-color);
}

.simple-form input[data-verify="password"].collect-data {
    border-style: inset;
    border-color: #eee;
    margin-bottom: 2px;
}

.simple-form .toggle-password-visibility {
    display: inline-block;
    font-size: .8em;
    margin-bottom: 12px;
}

.simple-form .send-submit {
	margin-left: 0;
	/*background-color: var(--site-color);*/
	width: 100%;
}

.simple-form .hideForm svg {
    height: 15px;
    width: 15px;
}

.simple-form .collect-data.error {
    outline: 1px solid #e17272;
    background-color: #e5d3d3;
}

.simple-form .collect-data:disabled {
    opacity: .7;
    background-color: #eee;
}

/*************************************************/

.product-group-section-list { min-height: var(--plate-item-height); }

/*************************************************/

.add-item-bar .material-symbols-outlined { font-size: 34px; margin-bottom: 10px; }

.add-item-bar,
.item-confirm-remove-wrapper { 
	margin-right: calc(2 * var(--plate-item-margin)); 
	border: 2px solid var(--site-color);
	width: var(--add-item-bar-width);
	height: var(--add-item-bar-height);
	background-color: var(--page-back-color);
	padding: 15px;
}

.add-item-bar span { opacity: .75; transition: .3s ease-out;  }
.add-item-bar:hover span { opacity: 1;  }

.item-plate-bar {
    padding-left: var(--plate-item-margin);
    margin-right: var(--plate-item-margin);
    margin-left: calc(-1 * var(--plate-item-margin));
    margin-bottom: var(--plate-item-margin);
    width: var(--plate-item-width);
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.item-plate-bar h1 {
    margin: 0px 0px 15px;
    text-align: left;
    font-size: 24px;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 28px;
    height: 90px;
}

.shop-bar-item__place-info {}

.shop-bar_city-name-holder {
    margin: 60px 0px 20px;
}

.shop-bar_phone-holder {
    margin-bottom: 20px;
}

/*****************************************************/

.awesomeCheckbox {
  vertical-align: top;
  margin: 0;
  width: 0px;
  height: 0px;
}

.awesomeCheckbox + label { cursor: pointer; }

.awesomeCheckbox:not(checked) { position: absolute; opacity: 0; }

.awesomeCheckbox:not(checked) + label {
    position: relative;
    padding: 2px; 
    padding-left: 48px;
}

.awesomeCheckbox:not(checked) + label:before {
  content: '';
  position: absolute;
  top: 0px; left: 0px;
  width: 38px;
  height: 20px;
  background: #CDD1DA;
  box-shadow: inset 0 2px 3px rgba(0,0,0,.2);
}

.awesomeCheckbox:not(checked) + label:after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #FFF;
  box-shadow: 0 2px 5px rgba(0,0,0,.3);
  transition: all .2s; /* анимация, чтобы чекбокс переключался плавно */
}

.awesomeCheckbox:checked + label:before {
  background-color: rgb(255, 182, 26);
  background-color: #000;
}

.awesomeCheckbox:checked + label:after {
  left: 20px;
}


/**************************************************/

.password-change-wrapper {
    width: var(--add-item-bar-width);
    background-color: var(--page-back-color);
    left: var(--plate-item-margin);
    padding: 25px 0px 0px;
}

.send-submit.send-password {
    width: 100%;
    margin: 10px 0px 0px 0px;
    /*background-color: var(--site-color);*/
}

.password-change-hider .svgIcon {
    width: 10px;
}

/***************************************************/

#section-menu .section-menu-link { margin-right: var(--section-menu-margin); }
#section-menu { padding-bottom: 30px; }
.inbox-message-preview {
    padding-left: var(--plate-item-margin);
    margin-left: calc(-1 * var(--plate-item-margin));
    margin-bottom: 30px;
}
.inbox-message-preview .section-handlers-wrapper { padding-top: 5px; }


.message-image {
    height: var(--inbox-message-image-height);
}

/***************************************************/

.list-handlers-wrapper, .list-actions-wrapper { margin-bottom: 30px; }
.list-handlers-wrapper .list-handler + .list-handler { margin-left: 80px; }

.list-actions-wrapper .send-submit {
    min-width: 130px;
    display: inline-block;
    padding-left: 15px;
    padding-right: 15px;
    width: auto;
    text-align: center;
    vertical-align: middle;
}

.list-actions-wrapper .add-agent,
.list-actions-wrapper .remove-agent {
    min-width: 32px;
    padding-left: 8px;
    padding-right: 8px;
}

.list-actions-wrapper .send-submit + .send-submit { margin-left: 25px; }
.list-actions-wrapper .wrapper { height: var(--row-height, 30); }

.list-actions-wrapper .wrapper.auto-size {
    height: auto;
    margin-top: -15px;
    margin-left: -25px;
}

.list-actions-wrapper .wrapper.auto-size .send-submit {
    margin-left: 25px;
    margin-top: 15px;
}

@media (max-width: 1400px) {
    #counteragent-name {
        left: auto;
        right: 0;
    }   
}

@media (max-width: 1400px) and (min-width: 1100px) {
    :root {
        --pg-container-width-lg: 160px;
        --pg-container-margin-lg: 50px;
        --logo-margin: 60px;
        --logo-height-lg: 30px;
        --pg-link-font-size: 10px;
    }

    :root {
        --plate-item-width: 220px;
        --plate-item-margin: 40px;
    }
     

    .item-list-container .font14 { font-size: 13px; }
    }
}

@media (max-width: 1099px) and (min-width: 1025px) {     
    :root {
        --plate-item-width: 235px;
        --plate-item-margin: 35px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) { 
    :root {
        --plate-item-width: 235px;
        --plate-item-margin: 35px;
    } 

    .simple-form .hideForm { 
        padding: 5px; 
        margin-left: -5px; 
        margin-top: -5px; 
    }

}

@media (max-width: 768px) and (min-width: 701px) {  
    :root { 
        --section-menu-margin: 45px;  
        --pg-container-width-lg: 118px;
        --pg-container-margin-lg: 70px;
        --plate-item-width: 235px;
    }

    .simple-form .hideForm { 
        padding: 5px; 
        margin-left: -5px; 
        margin-top: -5px; 
    }

    .add-item-bar, .item-confirm-remove-wrapper {
        margin-bottom: var(--plate-item-margin);
    }
    
}

@media (max-width: 700px) {
    :root {
        --pg-container-width-lg: 0px;
        --pg-container-margin-lg: 30px;
        --content-top: 130px;
        /*--plate-item-margin: 0px;*/
        --add-item-bar-width: 180px;
    }

    #notifier {
      top: 20px;
      z-index: 500;
    }

    #product-groups-menu {
        width: 220px;
        left: -265px;
    }

    #counteragent-name { top: -50px; }

    .add-item-bar, .item-confirm-remove-wrapper {
        margin-left: auto;
        margin-right: auto;
        float: initial;
        margin-bottom: 50px;
    }

    .item-plate-bar { 
        margin-left: 30px; 
        width: calc(100% - 30px);
    }
}