/*
dirty magic class ;)
*/
.somemagic {
    display: none;
}


.row1 {

}

.row2 {

}

.row3 {

}


.loginform label {	
    font-size: 20px; 
    color: #666; 
    padding-left: 4px;
}

.loginform { 

    border: 1px solid #ddd; 
    padding: 6px 6px 6px 12px; 
    background: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px; 		
    background: -webkit-gradient(linear, 0% 0%, 0% 40%, from(#EEE), to(#FFFFFF)); 
    background: -moz-linear-gradient(0% 40% 90deg,#FFF, #EEE); 
    -webkit-box-shadow:0px 0 50px #ccc;
    -moz-box-shadow:0px 0 50px #ccc; 
    box-shadow:0px 0 50px #ccc;	
    background-image: url('../../iconz/login.gif');
    background-repeat: no-repeat;
    background-position: right;
}	

.loginform fieldset { border: none; }


.loginform input, textarea { 		
    padding: 4px; 
    margin: 4px 0 20px 0; 
    background: #fff; 
    color: #555; 
    border: 1px #ddd solid;
    -webkit-box-shadow: 0px 0px 4px #aaa;
    -moz-box-shadow: 0px 0px 4px #aaa; 
    box-shadow: 0px 0px 4px #aaa;
    -webkit-transition: background 0.3s linear;							
}

.loginform textarea {		

}

.loginform input:hover, textarea:hover { 
    background: #eee; 
} 

.loginform  legend
{
    float: left;
    color: #000000;
    border: 1px solid #C4C4C4;
    padding: 8px; 
    margin: 8px;
    width: 60%;
} 

.mgcontainer {
    height:350px; 
    width:256px; 
    border:1px #aaa solid; 
    float:left; 
    margin:5px;
    background-color: #fbf6f6;
}

.mgheader {
    height:32px; 
    width:100%;
    text-align: center;
    font-weight: bold;
    float: left;
    background-color: #fff298;
}

.mgheaderprimary {
    height:32px; 
    width:100%;
    text-align: center;
    font-weight: bold;
    float: left;
    background-color: #adc8ff;
}


.mgsubcontrol {
    background: #3498db;
    background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
    background-image: -moz-linear-gradient(top, #3498db, #2980b9);
    background-image: -ms-linear-gradient(top, #3498db, #2980b9);
    background-image: -o-linear-gradient(top, #3498db, #2980b9);
    background-image: linear-gradient(to bottom, #3498db, #2980b9);
    -webkit-border-radius: 28;
    -moz-border-radius: 28;
    border-radius: 28px;
    font-family: Arial;
    color: #ffffff;

    padding: 10px 20px 10px 20px;
    text-decoration: none;
    margin: 20%;
}

.mgsubcontrol:hover {
    background: #3cb0fd;
    background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
    background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
    text-decoration: none;

}


.mgunsubcontrol {
    background: #d40000;
    background-image: -webkit-linear-gradient(top, #d40000, #f76e4f);
    background-image: -moz-linear-gradient(top, #d40000, #f76e4f);
    background-image: -ms-linear-gradient(top, #d40000, #f76e4f);
    background-image: -o-linear-gradient(top, #d40000, #f76e4f);
    background-image: linear-gradient(to bottom, #d40000, #f76e4f);
    -webkit-border-radius: 28;
    -moz-border-radius: 28;
    border-radius: 28px;
    font-family: Arial;
    color: #ffffff;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    margin: 20%;
}

.mgunsubcontrol:hover {
    background: #3cb0fd;
    background-image: -webkit-linear-gradient(top, #d40000, #f76e4f);
    background-image: -moz-linear-gradient(top, #d40000, #f76e4f);
    background-image: -ms-linear-gradient(top, #d40000, #f76e4f);
    background-image: -o-linear-gradient(top, #d40000, #f76e4f);
    background-image: linear-gradient(to bottom, #d40000, #f76e4f);
    text-decoration: none;
}



.mgviewcontrol{
    background: #44d934;
    background-image: -webkit-linear-gradient(top, #44d934, #00943e);
    background-image: -moz-linear-gradient(top, #44d934, #00943e);
    background-image: -ms-linear-gradient(top, #44d934, #00943e);
    background-image: -o-linear-gradient(top, #44d934, #00943e);
    background-image: linear-gradient(to bottom, #44d934, #00943e);
    -webkit-border-radius: 28;
    -moz-border-radius: 28;
    border-radius: 28px;
    font-family: Arial;
    color: #ffffff;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    margin-left: 30%;
}

.mgviewcontrol:hover {
    background: #009116;
    background-image: -webkit-linear-gradient(top, #009116, #0ccf57);
    background-image: -moz-linear-gradient(top, #009116, #0ccf57);
    background-image: -ms-linear-gradient(top, #009116, #0ccf57);
    background-image: -o-linear-gradient(top, #009116, #0ccf57);
    background-image: linear-gradient(to bottom, #009116, #0ccf57);
    text-decoration: none;
}

.mgguidecontrol {
    -moz-box-shadow: 0px 1px 0px 0px #fff6af;
    -webkit-box-shadow: 0px 1px 0px 0px #fff6af;
    box-shadow: 0px 1px 0px 0px #fff6af;
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffec64), color-stop(1, #ffab23));
    background:-moz-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background:-webkit-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background:-o-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background:-ms-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background:linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffec64', endColorstr='#ffab23',GradientType=0);
    background-color:#ffec64;
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    border-radius:6px;
    border:1px solid #ffaa22;
    display:inline-block;
    cursor:pointer;
    color:#333333;
    font-family:Arial;
    font-weight:bold;
    padding:6px 24px;
    text-decoration:none;
    text-shadow:0px 1px 0px #ffee66;
}
.mgguidecontrol:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffab23), color-stop(1, #ffec64));
    background:-moz-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background:-webkit-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background:-o-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background:-ms-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background:linear-gradient(to bottom, #ffab23 5%, #ffec64 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffab23', endColorstr='#ffec64',GradientType=0);
    background-color:#ffab23;
}
.mgguidecontrol:active {
    position:relative;
    top:1px;
}



.trinity-col {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 992px){
    .trinity-col {
        width: 44.33333333%;
    }
}

@media (min-width: 992px){
    .trinity-col {
        float: left;
    }
}


.trinity-list {
    padding: 10px;
    font-size: 10pt;
}

.trinity-bl1 {
    margin-bottom: 15px;
    display: block;
    height: 340px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}

.trinity-bl1 p {

    padding: 5px;
    border-radius: 5px;
    color: white;
    background: #6cb121;
    margin: 0 auto;
    left: 0;
    bottom: 35px;
    text-transform: uppercase;
    right: 0;
    width: 75%;
}

.trinity-button {
    text-decoration: none !important;
    border-radius: 5px;
    display: block;
    float: left;
    color: white;
    background: #6cb121;
    margin: 10px auto;
    margin-left: 10px;
    left: 0;
    bottom: 35px;
    right: 0;
    padding: 10px 10px 10px 10px;
}

.trinity-button-s {
    text-decoration: none !important;
    display: block;
    border-radius: 5px;
    color: white;
    background: #6cb121;
    margin: 0 auto;
    left: 0;
    bottom: 35px;
    text-transform: uppercase;
    right: 0;
    width: 65%;
    padding: 10px 10px 10px 10px;
}

.trinity-button-u {
    text-decoration: none !important;
    display: block;
    border-radius: 5px;
    color: white;
    background: #a1a79c;
    margin: 0 auto;
    left: 0;
    bottom: 35px;
    text-transform: uppercase;
    right: 0;
    width: 65%;
    padding: 10px 10px 10px 10px;
}


.trinity-price {
    font-size: 35pt;
    padding-top: 20px;
    /* font-family: 'Myriad Pro Bold';*/
}

.trinity-green {
    margin-top: 10px;
    height: 40px;
    background: #6cb121;
    color: white;
    font-size: 12pt;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 40px;
}


.trinity-tariff-b s{
    background: rgba(85, 148, 27, 0.59);
}

.trinity-price sup {
    text-transform: uppercase;
    font-size: 15pt;
    /*font-family: 'Myriad Pro Regular';*/
}


.youtv-button-s {
    text-decoration: none !important;
    display: block;
    border-radius: 5px;
    color: #f44336;
    background-color: rgba(255,55,55,.1);
    margin: 0 auto;
    left: 0;
    bottom: 35px;
    text-transform: uppercase;
    right: 0;
    width: 65%;
    padding: 10px 10px 10px 10px;
}

.youtv-button-s:hover {
    background-color: #f44336;
    border-color: #f44336;
    color: white;
}

.youtv-col {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 992px){
    .youtv-col {
        width: 33.33333333%;
    }
}

@media (min-width: 992px){
    .youtv-col {
        float: left;
    }
}

.youtv-list {
    padding: 10px;
    font-size: 10pt;
}

.youtv-bl1 {
    margin-bottom: 15px;
    display: block;
    height: 340px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}

.youtv-bl1 p {

    padding: 5px;
    border-radius: 5px;
    color: white;
    background: #6cb121;
    margin: 0 auto;
    left: 0;
    bottom: 35px;
    text-transform: uppercase;
    right: 0;
    width: 75%;
}

.youtv-button {
    text-decoration: none !important;
    border-radius: 5px;
    display: block;
    float: left;
    color: white;
    background: #6cb121;
    margin: 10px auto;
    margin-left: 10px;
    left: 0;
    bottom: 35px;
    right: 0;
    padding: 10px 10px 10px 10px;
}

.youtv-button-u {
    text-decoration: none !important;
    display: block;
    border-radius: 5px;
    color: white;
    background: #a1a79c;
    margin: 0 auto;
    left: 0;
    bottom: 35px;
    text-transform: uppercase;
    right: 0;
    width: 65%;
    padding: 10px 10px 10px 10px;
}


.youtv-price {
    font-size: 35pt;
    padding-top: 20px;
    /* font-family: 'Myriad Pro Bold';*/
}

.youtv-red {
    margin-top: 10px;
    height: 40px;
    background: #f44336;
    color: white;
    font-size: 12pt;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 40px;
}

.youtv-tariff-b s{
    background: rgba(85, 148, 27, 0.59);
}

.youtv-price sup {
    text-transform: uppercase;
    font-size: 15pt;
    /*font-family: 'Myriad Pro Regular';*/
}


sup {
    top: -0.5em;
}
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}


.announcementstable {

}

.announcementslink {
    font-size: x-large;
}

.anreadbutton {
    -moz-box-shadow:inset 0px 1px 0px 0px #a4e271;
    -webkit-box-shadow:inset 0px 1px 0px 0px #a4e271;
    box-shadow:inset 0px 1px 0px 0px #a4e271;
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #89c403), color-stop(1, #77a809));
    background:-moz-linear-gradient(top, #89c403 5%, #77a809 100%);
    background:-webkit-linear-gradient(top, #89c403 5%, #77a809 100%);
    background:-o-linear-gradient(top, #89c403 5%, #77a809 100%);
    background:-ms-linear-gradient(top, #89c403 5%, #77a809 100%);
    background:linear-gradient(to bottom, #89c403 5%, #77a809 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#89c403', endColorstr='#77a809',GradientType=0);
    background-color:#89c403;
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    border-radius:6px;
    border:1px solid #74b807;
    display:inline-block;
    cursor:pointer;
    color:#ffffff !important;
    font-family:Arial;
    font-size:15px;
    font-weight:bold;
    padding:6px 24px;
    text-decoration:none;
    text-shadow:0px 1px 0px #528009;
}
.anreadbutton:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #77a809), color-stop(1, #89c403));
    background:-moz-linear-gradient(top, #77a809 5%, #89c403 100%);
    background:-webkit-linear-gradient(top, #77a809 5%, #89c403 100%);
    background:-o-linear-gradient(top, #77a809 5%, #89c403 100%);
    background:-ms-linear-gradient(top, #77a809 5%, #89c403 100%);
    background:linear-gradient(to bottom, #77a809 5%, #89c403 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#77a809', endColorstr='#89c403',GradientType=0);
    text-decoration: none !important;
    color: #ffffff !important;
    background-color:#77a809;
}

.anreadbutton:active {
    position:relative;
    top:1px;
}

.anunreadbutton {
    -moz-box-shadow:inset 0px 1px 0px 0px #f5978e;
    -webkit-box-shadow:inset 0px 1px 0px 0px #f5978e;
    box-shadow:inset 0px 1px 0px 0px #f5978e;
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f24537), color-stop(1, #c62d1f));
    background:-moz-linear-gradient(top, #f24537 5%, #c62d1f 100%);
    background:-webkit-linear-gradient(top, #f24537 5%, #c62d1f 100%);
    background:-o-linear-gradient(top, #f24537 5%, #c62d1f 100%);
    background:-ms-linear-gradient(top, #f24537 5%, #c62d1f 100%);
    background:linear-gradient(to bottom, #f24537 5%, #c62d1f 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f24537', endColorstr='#c62d1f',GradientType=0);
    background-color:#f24537;
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    border-radius:6px;
    border:1px solid #d02718;
    display:inline-block;
    cursor:pointer;
    color:#ffffff !important;
    font-family:Arial;
    font-size:15px;
    font-weight:bold;
    padding:6px 24px;
    text-decoration:none;
    text-shadow:0px 1px 0px #810e05;
}
.anunreadbutton:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #c62d1f), color-stop(1, #f24537));
    background:-moz-linear-gradient(top, #c62d1f 5%, #f24537 100%);
    background:-webkit-linear-gradient(top, #c62d1f 5%, #f24537 100%);
    background:-o-linear-gradient(top, #c62d1f 5%, #f24537 100%);
    background:-ms-linear-gradient(top, #c62d1f 5%, #f24537 100%);
    background:linear-gradient(to bottom, #c62d1f 5%, #f24537 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#c62d1f', endColorstr='#f24537',GradientType=0);
    text-decoration: none !important;
    color: #ffffff !important;
    background-color:#c62d1f;

}
.anunreadbutton:active {
    position:relative;
    top:1px;
}

.resp-table {
    word-break:break-all;
}


.olltv-col {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 992px){
    .olltv-col {
        width: 44.33333333%;
    }
}

@media (min-width: 992px){
    .olltv-col {
        float: left;
    }
}


.olltv-list {
    padding: 10px;
    font-size: 10pt;
}

.olltv-bl1 {
    margin-bottom: 15px;
    display: block;
    height: 340px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}

.olltv-bl1 p {

    padding: 5px;
    border-radius: 5px;
    color: white;
    background: #6cb121;
    margin: 0 auto;
    left: 0;
    bottom: 35px;
    text-transform: uppercase;
    right: 0;
    width: 75%;
}

.olltv-button {
    text-decoration: none !important;
    border-radius: 5px;
    display: block;
    float: left;
    color: white;
    background: #6cb121;
    margin: 10px auto;
    margin-left: 10px;
    left: 0;
    bottom: 35px;
    right: 0;
    padding: 10px 10px 10px 10px;
}

.olltv-button-s {
    text-decoration: none !important;
    display: block;
    border-radius: 5px;
    color: #222224;
    background: #ffcc00;
    margin: 0 auto;
    left: 0;
    bottom: 35px;
    text-transform: uppercase;
    right: 0;
    width: 65%;
    padding: 10px 10px 10px 10px;
}

.olltv-button-u {
    text-decoration: none !important;
    display: block;
    border-radius: 5px;
    color: white;
    background: #a1a79c;
    margin: 0 auto;
    left: 0;
    bottom: 35px;
    text-transform: uppercase;
    right: 0;
    width: 65%;
    padding: 10px 10px 10px 10px;
}


.olltv-price {
    font-size: 35pt;
    padding-top: 20px;
}

.olltv-yellow {
    margin-top: 10px;
    height: 40px;
    background: #222224;
    color: #ffcc00;
    font-size: 12pt;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 40px;
}


.olltv-tariff-b s{
    background: rgba(85, 148, 27, 0.59);
}

.olltv-price sup {
    text-transform: uppercase;
    font-size: 15pt;
}

.labels-top label {
    line-height: 2.2em;
    display: block;
}

.labels-top label:not(:first-of-type) {
    margin-top: 5px;
}

.form-grid-2cols {
    display: grid;
    grid-template-columns: max-content max-content;
    grid-gap: 10px;
    padding: 15px;
    align-items: center;
}

.form-grid-2cols h3 {
    display: inline-block;
}

.form-grid-2cols button.inline-grid-button {
    margin-top: 0;
    grid-column-start: 2;
    grid-column-end: 2;
}

.form-grid-2cols .full-width-occupy,
.form-grid-2cols button {
    grid-column-start: 1;
    grid-column-end: 3;
}

.form-grid-2cols button {
    margin-top: 7px;
}

.form-grid-2cols label {
    line-height: 1.7em;
    margin-right: 0.5em;
}

.form-grid-2cols-label-right label,
.form-grid-2cols-label-right h3 {
    text-align: right;
}

.form-grid-3cols-inline {
    display: grid;
    grid-template-columns: 1fr max-content max-content;
    grid-gap: 10px;
    padding: 0 0 0 5px;
    align-items: center;
}

.form-grid-3cols {
    display: grid;
    grid-template-columns: 1fr max-content max-content;
    grid-gap: 10px;
    padding: 15px;
    align-items: center;
}

.form-grid-3cols h3 {
    display: inline-block;
}

.form-grid-3cols .full-width-occupy,
.form-grid-3cols button {
    grid-column-start: 1;
    grid-column-end: 4;
}

.form-grid-3cols .right-two-thirds-occupy {
    grid-column-start: 2;
    grid-column-end: 4;
}

.form-grid-3cols .col-1-2-occupy {
    grid-column-start: 1;
    grid-column-end: 2;
}

.form-grid-3cols .col-2-occupy {
    grid-column-start: 2;
    grid-column-end: 2;
}

.form-grid-3cols button {
    margin-top: 7px;
}

.form-grid-3cols label {
    line-height: 1.7em;
    margin-right: 0.5em;
}

.form-grid-3cols-label-right label,
.form-grid-3cols-label-right h3 {
    text-align: right;
}


.form-grid-4cols {
    display: grid;
    grid-template-columns: repeat(4, minmax(100px, auto));
    grid-gap: 10px;
    padding: 15px;
    align-items: center;
}

.form-grid-4cols h3 {
    display: inline-block;
}

.form-grid-4cols .full-width-occupy,
.form-grid-4cols button {
    grid-column-start: 1;
    grid-column-end: 5;
}

.form-grid-4cols .half-occupy {
    grid-column-start: 2;
    grid-column-end: 3;
}

.form-grid-4cols .right-two-thirds-occupy {
    grid-column-start: 2;
    grid-column-end: 5;
}

.form-grid-4cols .col-1-2-occupy {
    grid-column-start: 1;
    grid-column-end: 3;
}

.form-grid-4cols .col-1-3-occupy {
    grid-column-start: 1;
    grid-column-end: 4;
}

.form-grid-4cols .col-2-3-occupy {
    grid-column-start: 2;
    grid-column-end: 4;
}

.form-grid-4cols .col-3-4-occupy {
    grid-column-start: 3;
    grid-column-end: 5;
}

.form-grid-4cols .col-4-5-occupy {
    grid-column-start: 4;
    grid-column-end: 5;
}

.form-grid-4cols button {
    margin-top: 7px;
}

.form-grid-4cols label {
    line-height: 1.7em;
    margin-right: 0.5em;
}

.form-grid-4cols-label-right label,
.form-grid-4cols-label-right h3 {
    text-align: right;
}


.form-grid-5cols-inline {
    display: grid;
    grid-template-columns: repeat(5, auto);
    grid-gap: 20px;
    padding: 4px 5px;
    margin-top: 5px;
    align-items: center;
}


.form-grid-5cols {
    display: grid;
    grid-template-columns: repeat(5, auto);
    grid-gap: 10px;
    padding: 15px;
    align-items: center;
}


.form-grid-6cols {
    display: grid;
    grid-template-columns: repeat(6, minmax(100px, auto));
    grid-gap: 10px;
    padding: 15px;
    align-items: center;
}

.form-grid-6cols h3 {
    display: inline-block;
}

.form-grid-6cols .full-width-occupy,
.form-grid-6cols button {
    grid-column-start: 1;
    grid-column-end: 7;
}

.form-grid-6cols .col-1-2-occupy {
    grid-column-start: 1;
    grid-column-end: 3;
}

.form-grid-6cols .col-2-3-occupy {
    grid-column-start: 2;
    grid-column-end: 4;
}

.form-grid-6cols .col-2-4-occupy {
    grid-column-start: 2;
    grid-column-end: 5;
}

.form-grid-6cols .col-3-4-occupy {
    grid-column-start: 3;
    grid-column-end: 5;
}

.form-grid-6cols .col-3-5-occupy {
    grid-column-start: 3;
    grid-column-end: 6;
}

.form-grid-6cols .col-4-5-occupy {
    grid-column-start: 4;
    grid-column-end: 6;
}

.form-grid-6cols .col-4-6-occupy {
    grid-column-start: 4;
    grid-column-end: 7;
}

.form-grid-6cols .col-5-6-occupy {
    grid-column-start: 5;
    grid-column-end: 7;
}

.form-grid-6cols .col-6-7-occupy {
    grid-column-start: 6;
    grid-column-end: 7;
}

.form-grid-6cols .right-two-thirds-occupy {
    grid-column-start: 2;
    grid-column-end: 7;
}

.form-grid-6cols button {
    margin-top: 7px;
}

.form-grid-6cols label {
    line-height: 1.7em;
    margin-right: 0.5em;
}

.form-grid-6cols-label-right label,
.form-grid-6cols-label-right h3 {
    text-align: right;
}


.form-grid-3r-1c {
    display: grid;
    grid-template-columns: minmax(max-content, auto);
    grid-template-rows: repeat(3, 1fr);
    grid-gap: 5px;
    padding: 15px;
    align-items: center;
}

.form-grid-3r-1c button {
    grid-column-start: 1;
    grid-column-end: 2;
}

.ubButtonInline {
    -moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
    -webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
    box-shadow: inset 0px 1px 0px 0px #ffffff;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
    background: -moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
    background-color: #ededed;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    display: inline-block;
    font-family: arial;
    font-size: 13px;
    font-weight: bold;
    padding: 4px 14px;
    text-decoration: none;
    text-shadow: 1px 1px 0px #ffffff;
    color: #777777;
}

.ubButtonInline:hover {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
    background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
    background-color:#dfdfdf;
    text-decoration: none;
    color: #777777;
}

.ubButtonInline:active {
    /* commented due android FF issues */
    /* position:relative;
    top:1px; */
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
}

.ubButtonInline:visited {
    color: #777777;
}

.ubButtonInline:link {
    color: #777777;
}

.ubButtonInline:disabled {
    color: rgba(16, 16, 16, 0.3);
}

.opbackend {
    box-sizing: initial;
}


@media (max-width: 767px) {
    .mobile-table,
    .mobile-table tbody,
    .mobile-table tr,
    .mobile-table td {
        display: block;
        width: 100%;
    }

    .mobile-table tr.row1 {
        display: none;
    }

    .mobile-table tr.row3 {
        margin: 0 0 12px 0;
        padding: 8px 10px;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        background: #fff;
    }

    .mobile-table td {
        position: relative;
        padding-left: 44%;
        min-height: 28px;
        white-space: normal;
        word-break: break-word;
        border: 0;
        border-bottom: 1px dashed #eee;
    }

    .mobile-table td:last-child {
        border-bottom: 0;
    }

    .mobile-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        top: 0;
        width: 40%;
        font-weight: 600;
        color: #666;
        white-space: normal;
    }
}

.confirmcancel {
    box-shadow: inset 0px 1px 0px 0px #f5978e;
    background: linear-gradient(to bottom, #f24537 5%, #c62d1f 100%);
    background-color: #f24537;
    border-radius: 6px;
    border: 1px solid #d02718;
    display: inline-block;
    cursor: pointer;
    color: #ffffff !important;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #810e05;
}

.confirmcancel:hover {
    background: linear-gradient(to bottom, #c62d1f 5%, #f24537 100%);
    background-color: #c62d1f;
    color: #ffffff;
    text-decoration: none;
}

.confirmcancel:active {
    position: relative;
    top: 1px;
    color: #ffffff;
}

.confirmagree {
    box-shadow: inset 0px 1px 0px 0px #a4e271;
    background: linear-gradient(to bottom, #89c403 5%, #77a809 100%);
    background-color: #89c403;
    border-radius: 6px;
    border: 1px solid #74b807;
    display: inline-block;
    cursor: pointer;
    color: #ffffff !important;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #528009;
}

.confirmagree:hover {
    background: linear-gradient(to bottom, #77a809 5%, #89c403 100%);
    background-color: #77a809;
    color: #ffffff;
    text-decoration: none;
}

.confirmagree:active {
    position: relative;
    top: 1px;
    color: #ffffff;
}
/* ============ MAXNET purple theme ============ */
a, .card a { color: #652d8e; }
a:hover, a:focus { color: #4a2168; }

/* активный пункт меню (вместо оранжевого) */
.sidebar[data-active-color="danger"] .nav li.active > a,
.sidebar[data-active-color="danger"] .nav li.active > a i,
.sidebar[data-active-color="danger"] .nav li.active > a:hover,
.sidebar[data-active-color="danger"] .nav li.active > a:focus,
.sidebar[data-active-color="danger"] .nav li > a:hover {
    color: #652d8e !important;
}
.sidebar .nav li:hover:not(.active) > a { color: #8a5cb8; }

/* кнопки */
.btn-primary, .btn-info, .btn-success,
.btn-primary:focus, .btn-info:focus, .btn-success:focus,
.btn-primary:active, .btn-info:active, .btn-success:active {
    background-color: #652d8e !important;
    border-color: #652d8e !important;
    color: #fff !important;
}
.btn-primary:hover, .btn-info:hover, .btn-success:hover {
    background-color: #4a2168 !important;
    border-color: #4a2168 !important;
}
input[type="submit"], .ubButton {
    background: #652d8e;
    color: #fff;
    border: 1px solid #4a2168;
    border-radius: 6px;
    padding: 6px 16px;
    cursor: pointer;
}
input[type="submit"]:hover, .ubButton:hover { background: #4a2168; }

/* шапка и футер */
.navbar .navbar-brand { color: #4a2168; }
.footer a, .footer .copyright { color: #652d8e; }

/* прогрессбары/бейджи, если попадутся */
.progress-bar { background-color: #652d8e; }
.badge-primary { background-color: #652d8e; }

/* логотип в сайдбаре */
.logo-image-small img { max-width: 180px; height: auto; }

/* иконки меню в цвет бренда */
.sidebar .nav li > a img { filter: grayscale(1) sepia(1) hue-rotate(238deg) saturate(3.5) brightness(0.75); }

/* ============ MAXNET modern redesign v2 ============ */

/* фон и карточки */
.main-panel { background: #f3eff8 !important; }
.card {
    border-radius: 14px !important;
    border: none !important;
    box-shadow: 0 6px 24px rgba(101, 45, 142, 0.08) !important;
}

/* сайдбар */
.sidebar { box-shadow: 2px 0 16px rgba(60, 30, 90, 0.06) !important; }
.sidebar .logo { padding: 20px 12px; }
.sidebar .sidebar-wrapper { padding-top: 6px; }

/* пункты меню: без капса, пилюля на активном */
.sidebar .nav li > a {
    text-transform: none !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    color: #6b6377 !important;
    margin: 3px 12px !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    opacity: 1 !important;
    display: flex;
    align-items: center;
}
.sidebar .nav li.active > a,
.sidebar .nav li.active > a:hover,
.sidebar .nav li.active > a:focus {
    background: #efe6f7 !important;
    color: #652d8e !important;
}
.sidebar .nav li:not(.active) > a:hover {
    background: #f6f1fb !important;
    color: #652d8e !important;
}
/* убрать треугольный указатель скина */
.sidebar .nav li.active > a:after,
.sidebar .nav li.active > a:before { display: none !important; }

/* старые gif-иконки прячем, рисуем линейные svg через маску */
.sidebar .nav li > a img { display: none !important; }
.sidebar .nav li > a::before {
    content: "" !important;
    display: inline-block !important;
    flex: 0 0 20px;
    width: 20px; height: 20px;
    margin-right: 12px;
    background-color: #9b7fbd;
    -webkit-mask: var(--mxi) no-repeat center / contain;
    mask: var(--mxi) no-repeat center / contain;
    border: none !important;
}
.sidebar .nav li.active > a::before,
.sidebar .nav li > a:hover::before { background-color: #652d8e; }

/* иконка по умолчанию для прочих модулей */
.sidebar .nav li > a { --mxi: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E"); }
/* Главная */
.sidebar .nav li > a[href="index.php"] { --mxi: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E"); }
/* Кредиты */
.sidebar .nav li > a[href*="module=creditor"] { --mxi: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); }
/* Платежи */
.sidebar .nav li > a[href*="module=payments"] { --mxi: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E"); }
/* Тест скорости */
.sidebar .nav li > a[href*="module=speedtest"] { --mxi: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E"); }
/* Помощь (тикеты) */
.sidebar .nav li > a[href*="module=ticketing"] { --mxi: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
/* Объявления */
.sidebar .nav li > a[href*="module=announcements"] { --mxi: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9'/%3E%3Cpath d='M13.73 21a2 2 0 0 1-3.46 0'/%3E%3C/svg%3E"); }
/* Документы */
.sidebar .nav li > a[href*="module=zdocs"] { --mxi: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E"); }

/* шапка */
.navbar .navbar-brand { color: #4a2168 !important; font-weight: 700 !important; }

/* таблицы в карточках */
.card .table td, .card table td { padding: 13px 16px !important; border-color: #f2edf7 !important; }

/* поля форм */
input[type="text"], input[type="password"], select, textarea {
    border: 1px solid #ddd0ec !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    outline: none;
    background: #fff;
}
input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
    border-color: #652d8e !important;
    box-shadow: 0 0 0 3px rgba(101, 45, 142, 0.12) !important;
}
input[type="submit"], .ubButton { border-radius: 10px !important; padding: 8px 20px !important; font-weight: 600; }

/* скроллбар в тему */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #cbb8de; border-radius: 6px; }
::-webkit-scrollbar-track { background: transparent; }

/* фикс: иконка на активном пункте (перебиваем скрытие и стили скина) */
.sidebar .nav li.active > a::before,
.sidebar .nav li > a::before {
    content: "" !important;
    display: inline-block !important;
    position: static !important;
    width: 20px !important; height: 20px !important;
    flex: 0 0 20px !important;
    margin: 0 12px 0 0 !important;
    border: none !important;
    opacity: 1 !important;
    transform: none !important;
    background-color: #9b7fbd !important;
    -webkit-mask: var(--mxi) no-repeat center / contain !important;
    mask: var(--mxi) no-repeat center / contain !important;
}
.sidebar .nav li.active > a::before,
.sidebar .nav li > a:hover::before { background-color: #652d8e !important; }
.sidebar .nav li.active > a::after { display: none !important; }

/* логин-форма: без манекена, аккуратный центр */
form.loginform { background-image: none !important; padding: 34px 0 24px !important; }
