body
{
    margin: 0;
    padding: 0;
    color: #555;
    font-size: 9pt;
    font-family: Verdana, Arial, sans-serif;
/*    , Arial,Helvetica,sans-serif;*/
    background: #EFEFEF;
}

#page
{
    margin-top: 5px;
    margin-bottom: 5px;
    background: white;
    border: 1px solid #C9E0ED;
}

#header
{
    margin: 0;
    padding: 0;
    border-top: 3px solid #C9E0ED;
}

#content
{
    padding: 10px;
}

#sidebar
{
    padding: 10px 0px 10px 0px;
}

#footer
{
    padding: 10px;
    margin: 10px 10px;
    font-size: 0.8em;
    text-align: center;
    border-top: 1px solid #C9E0ED;
}

#logo
{
    margin-left: 15px;
    background:white url(../images/logo.png) no-repeat left center ;
    padding: 16px 110px;
    font-family:  Arial, sans-serif; 
    font-size: 15px; 
    font-weight: bold; 
    color: #2E6AB1;
  
}

#mainmenu
{
    background:white url(bg.gif) repeat-x left top;
}

#mainmenu ul
{
    padding:6px 20px 5px 20px;
    margin:0px;
}

#mainmenu ul li
{
    display: table-cell;
    position: relative;    
    white-space: nowrap;
}

#mainmenu>ul>li:last-child
{
    width: 100%;
    text-align: right;
}

#mainmenu ul li a
{
    color:#ffffff;
    background-color:transparent;
    font-size:12px;
    font-weight:bold;
    text-decoration:none;
    padding:5px 8px;
}

#mainmenu ul li a:hover, #mainmenu ul li.active a
{
    color: #6399cd;
    background-color:#EFF4FA;
    text-decoration:none;
}

.headertext{
     font-size: 13px; 
     font-weight: bold; 
     color: #2E6AB1;
}

div.flash-error, div.flash-notice, div.flash-success
{
    padding:.8em;
    margin:1em;
    border:1px solid #ddd;
    border-radius: 3px;
}

div.flash-error
{
    background:#FBE3E4;
    color:#8a1f11;
    border-color:#FBC2C4;
}

div.flash-notice
{
    background:#FFF6BF;
    color:#514721;
    border-color:#FFD324;
}

div.flash-success
{
    background:#dff0d8;
    color:#468847;
    border-color:#d6e9c6;
}

div.flash-error a
{
    color:#8a1f11;
}

div.flash-notice a
{
    color:#514721;
}

div.flash-success a
{
    color:#468847;
    font-weight: bold;
}

div.form .rememberMe label
{
    display: inline;
}

div.view
{
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #C9E0ED;
}

div.breadcrumbs
{
    font-size: 0.9em;
    padding: 5px 20px;
}

div.breadcrumbs span
{
    font-weight: bold;
}

div.search-form
{
    padding: 10px;
    margin: 10px 0;
    background: #eee;
}

.portlet
{

}

.portlet-decoration
{
    padding: 3px 8px;
    background: #B7D6E7;
    border-left: 5px solid #6FACCF;
}

.portlet-title
{
    font-size: 12px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    color: #298dcd;
}

.portlet-content
{
    font-size:0.9em;
    margin: 0 0 15px 0;
    padding: 5px 8px;
    background:#EFFDFF;
}

.portlet-content ul
{
    list-style-image:none;
    list-style-position:outside;
    list-style-type:none;
    margin: 0;
    padding: 0;
}

.portlet-content li
{
    padding: 2px 0 4px 0px;
}

.operations
{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.operations li
{
    padding-bottom: 2px;
}

.operations li a
{
   
    color: #0066A4;
    font-weight: bold; 
    display: block;
    padding: 2px 0 2px 8px;
    line-height: 15px;
    text-decoration: none;
}

.operations li a:visited
{
    color: #0066A4;
}

.operations li a:hover
{
    background: #80CFFF;
}

.toolbar-ul{
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:9px;
    text-align:center;
    white-space:nowrap;
    color: #2E6AB1;
    padding: 0px;
    margin: 0px;
}

.toolbar-ul li{
    display: table-cell;
    position: relative;
    text-align: center;
    padding: 0px 2px;
}

.toolbar-ul li:hover{
    cursor: pointer;
}

.toolbar-ul img{
    width: 24px;
    height: 24px;
}

.toolbar-ul li:hover div{
    color: #E17009 !important;
}

.with-border{
     border-top: 1px solid #A6C9E2; 
     padding-left: 5px; 
     margin-top: 5px;
/*     border-radius: 5px;*/
}





#menu{
    display: none;
}

@media(max-width:480px){
    .container{
        width: 100%;
    }
    #content{
            padding: 0 0 0 10px;
    }
    #content table{
        width: calc(100% - 10px) !important;
    }
    
    #content div{
        width: calc(100% - 10px) !important;
    }
    #yw0{
        width: calc(100% - 20px) !important;
    }
    #yw3 > table.items > tbody > tr,
    #yw3 > table.items > thead > tr,
    #yw4 > table.items > thead > tr,
    #yw4 > table.items > tbody > tr,
    #yw1 > table.items > tbody > tr,
    #yw1 > table.items > thead > tr{
        width: calc(100% - 20px);
        display: flex;
        flex-direction: column;
        padding: 10px;
    }
    table.items > tbody > tr > td{
        width: 100%;
    }
    .grid-view table.items th, 
    .grid-view table.items td{
        font-size: 12px;
    }
    #yw3 > table.items > thead,
    #yw1 > table.items > thead,
    #yw4 > table.items > thead,
    #content > table:nth-child(1) > tbody > tr > td:nth-child(1){
        display: none;
    }
    #yw1 > table.items > tbody > tr > td,
    #yw3 > table.items > tbody > tr > td,
    #yw4 > table.items > tbody > tr > td{
        padding-left: 100px;
        position: relative;
        text-align: left !important;
        width: calc(100% - 120px);
    }
    #yw1 > table.items > tbody > tr > td:nth-child(1){
        padding-left: 10px;
        text-align: center !important;
    }
    #yw1 > table.items > tbody > tr > td:nth-child(2):before{
        content: "Всего";
    }
    #yw1 > table.items > tbody > tr > td:nth-child(3):before{
        content: "Передано";
    }
    #yw1 > table.items > tbody > tr > td:nth-child(4):before{
        content: "В работе";
    }
    #yw1 > table.items > tbody > tr > td:nth-child(5):before{
        content: "Приост.";
    }
    #yw1 > table.items > tbody > tr > td:nth-child(6):before{
        content: "Отказано";
    }
    #yw1 > table.items > tbody > tr > td:nth-child(7):before{
        content: "Заверш.";
    }
    #yw1 > table.items > tbody > tr > td:nth-child(8):before{
        content: "Перечисл.";
    }
    #yw1 > table.items > tbody > tr > td:nth-child(9):before{
        content: "Получ.";
    }

    
    
    
    
    
    #yw3 > table.items > tbody > tr > td:nth-child(1):before{
        content: "#";
    }
    #yw3 > table.items > tbody > tr > td:nth-child(2):before{
        content: "Отпр";
    }
    #yw3 > table.items > tbody > tr > td:nth-child(3):before{
        content: "Город";
    }
    #yw3 > table.items > tbody > tr > td:nth-child(4):before{
        content: "Клиент";
    }
    #yw3 > table.items > tbody > tr > td:nth-child(5):before{
        content: "Дата";
    }
    #yw4 > table.items > tbody > tr > td:nth-child(1):before{
        content: "#";
    }
    #yw4 > table.items > tbody > tr > td:nth-child(2):before{
        content: "Клиент";
    }
    #yw4 > table.items > tbody > tr > td:nth-child(3):before{
        content: "Дата";
    }
    #yw4 > table.items > tbody > tr > td:nth-child(4):before{
        content: "Статус";
    }
    #yw4 > table.items > tbody > tr > td:nth-child(5):before{
        content: "Автор";
    }
    #yw4 > table.items > tbody > tr > td:nth-child(6):before{
        content: "Описание";
    }
    #yw1 > table.items > tbody > tr > td:before,
    #yw3 > table.items > tbody > tr > td:before,
    #yw4 > table.items > tbody > tr > td:before{
        position: absolute;
        left: 5px;
        border-right: 1px solid #ccc;
        width: 90px;
    }
    #content > div.headertext{
        font-size: 20px;
    } 
    #yw0 > tbody > tr > th,
    #yw0 > tbody > tr > td{
        font-size: 14px;
        width: 50%;
    }
    #yw4 > table.items{
        overflow: hidden;
    }
    #content > table:nth-child(1) > tbody > tr,
    #mainmenu #yw6,
    #mainmenu #yw5,
    #mainmenu #yw3,
    #mainmenu #yw2,
    #mainmenu #yw1{
        display: flex;
        flex-wrap: wrap;
    }
    #content > table:nth-child(1) > tbody > tr{
        flex-direction: column;
    }
    #content > table:nth-child(1) > tbody > tr > td:nth-child(2),
    #content > table:nth-child(1) > tbody > tr > td:nth-child(3),
    #content > table:nth-child(1) > tbody > tr > td:nth-child(4){
        width: 100% !important;
        text-align: left !important
    }
    #content > table:nth-child(1) > tbody > tr > td:nth-child(2) > a,
    #from, #to, #filter,
    #dateRangeForm{
        font-size: 14px;
    }
    #from, #to{
            width: 100px !important;
    }
    #mainmenu #yw6,
    #mainmenu #yw5,
    #mainmenu #yw3,
    #mainmenu #yw2,
    #mainmenu #yw1{
        flex-direction: column;
    }
    
    #mainmenu>ul>li:last-child,
    #mainmenu #yw6 li,
    #mainmenu #yw5 li,
    #mainmenu #yw3 li,
    #mainmenu #yw2 li,
    #mainmenu #yw1 li{
        background: white url(bg.gif) repeat-x;
        width: 250px;
        text-align: left;
        height:30px;
    }
    #mainmenu #yw6 li a,
    #mainmenu #yw5 li a,
    #mainmenu #yw3 li a,
    #mainmenu #yw2 li a,
    #mainmenu #yw1 li a{
        font-size: 14px;
        line-height: 30px;
    }
    #footer {
        font-size: 20px;
    }
    #yw1 > table.items > tbody > tr.even th,
    #yw1 > table.items > tbody > tr.even td,
    #yw3 > table.items > tbody > tr.even th,
    #yw3 > table.items > tbody > tr.even td,
    #yw4 > table.items > tbody > tr.even th,
    #yw4 > table.items > tbody > tr.even td{
        border: 1px solid #D0E3EF;
    }
    .span-19{
        width: calc(100% - 10px);
        
    }
    #mainmenu{
        position: relative;
    }
    #mainmenu ul{
        display: none !important;
        padding: 0;
    }
    #mainmenu.active ul{
        position: absolute;
        top: 10px;
        left: 0;
        display: flex !important;
        z-index: 999999;
        box-shadow: 3px 3px 5px rgba(0,0,0,0.5);
    }
    #menu{
        display: block;
        text-align: right;
        padding-right: 20px;
        cursor: pointer;
        z-index: 999999;
        box-shadow: 3px 3px 5px rgba(0,0,0,0.5);
        height: 40px;
        line-height: 40px;
        color: #fff;
        font-size: 20px;
        margin-bottom: 20px;
    }
    #Appl_client_contact_info,
    #Appl_client_name,
    #Appl_comment{
        width: 100%;
    }
    #appl-grid,
    #manager-grid,
    #applreceived-grid,
    #applcreated-grid,
    #appl-log-grid{
        overflow-x: scroll;
    }
    #appl-log-grid::-webkit-scrollbar,
    #appl-grid::-webkit-scrollbar,
    #manager-grid::-webkit-scrollbar,
    #applreceived-grid::-webkit-scrollbar,
    #applcreated-grid::-webkit-scrollbar{
        width: 12px;
    }

    #appl-grid::-webkit-scrollbar-track,
    #manager-grid::-webkit-scrollbar-track,
    #applreceived-grid::-webkit-scrollbar-track,
    #applcreated-grid::-webkit-scrollbar-track,
    #appl-log-grid::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
        border-radius: 2px;
    }

    #appl-grid::-webkit-scrollbar-thumb,
    #manager-grid::-webkit-scrollbar-thumb,
    #applreceived-grid::-webkit-scrollbar-thumb,
    #applcreated-grid::-webkit-scrollbar-thumb,
    #appl-log-grid::-webkit-scrollbar-thumb,
    #appl-log-grid::-webkit-scrollbar-thumb {
        border-radius: 2px;
        -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.5);
        background: url(bg.gif) repeat-x scroll left top white;
    }
    #company-grid > table.items > thead{
            display: flex;
        margin-bottom: 35px;
        position: relative;
    }
    #company-grid > table.items > thead > tr,
    #company-grid > table.items > tbody > tr{
        display: flex;
        flex-direction: column;
        width: 100%;    
    }
    #company-grid #yw0 > li:nth-child(n+6):nth-child(-n+12){
        display: none;
    }
    #applreceived-grid_c3,
    #applreceived-grid_c6,
    #applreceived-grid > table.items > tbody > tr > td:nth-child(4),
    #applreceived-grid > table.items > tbody > tr > td:nth-child(7),
    #applcreated-grid_c3,
    #applcreated-grid_c6,
    #applcreated-grid > table.items > tbody > tr > td:nth-child(4),
    #applcreated-grid > table.items > tbody > tr > td:nth-child(7)
    #appl-grid_c6,
    #appl-grid_c9,
    #appl-grid > table.items > tbody > tr > td:nth-child(7),
    #appl-grid > table.items > tbody > tr > td:nth-child(10),
    #applreceived-grid > table.items > thead > tr.filters > td.button-column,
    #applreceived-grid > table.items > thead > tr.filters > td:nth-child(7),
    #applcreated-grid > table.items > thead > tr.filters > td.button-column,
    #applreceived-grid > table.items > thead > tr.filters > td:nth-child(5),
    #applcreated-grid > table.items > thead > tr.filters > td:nth-child(5),
    #applcreated-grid > table.items > tbody > tr > td:nth-child(7),
    #appl-grid_c10,
    #appl-grid > table.items > thead > tr.filters > td:nth-child(10),
    #appl-grid > table.items > thead > tr.filters > td.button-column,
    #company-grid_c2,
    #appl-grid_c6,
    #appl-grid > table.items > thead > tr.filters > td:nth-child(7){
        display: none;
    }
    #company-grid > table.items > thead > tr.filters > td.button-column > a:nth-child(1) > img,
    #company-grid > table.items > thead > tr.filters > td.button-column > a:nth-child(2) > img{
        width: 30px;
        position: absolute;
        left: 15px;
    }
    #company-grid > table.items > thead > tr.filters > td.button-column > a:nth-child(2) > img{
        left: 45px;
    }
    #yw0 > tbody > tr > th,
    #yw2 > tbody > tr > th{
        text-align: left;
    }
    #yw2 > tbody > tr:nth-child(n+1):nth-child(-n+3),
    #yw2 > tbody > tr:nth-child(n+5):nth-child(-n+10),
    #yw0 > tbody > tr{
        position: relative;
    }
    #yw2 > tbody > tr:nth-child(n+1):nth-child(-n+3) > th,
    #yw2 > tbody > tr:nth-child(n+5):nth-child(-n+10) > th,
    #yw0 > tbody > tr > th{
        width: calc(50% - 15px) !important;
    }
    #content > #yw2 > tbody > tr:nth-child(n+1):nth-child(-n+3) > td,
    #content > #yw2 > tbody > tr:nth-child(n+5):nth-child(-n+10) > td,
    #content > #yw0 > tbody > tr:nth-child(n+1):nth-child(-n+3) > td,
    #content > #yw0 > tbody > tr:nth-child(n+7):nth-child(-n+10) > td,
    #content > #yw0 > tbody > tr:nth-child(n+13):nth-child(-n+15) > td,
    #content > #yw0 > tbody > tr:nth-child(5) > td{
        position: absolute;
        left: 50%;
        width: 50% !important;
    }
}




























