/*#region Main*/
.pWrap {
    max-width: 1200px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -ms-flex-direction: row;
}


div[class^="pS"] .pBlock {
    width: 100%;
}

.pFlex {
    display: -webkit-flex; /* Safari */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: -ms-flex;
    display: -moz-flex;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    color: black;
}

.pFlex.col1,
.pFlex.col2,
.pFlex.col3,
.pFlex.col4 {
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.pFlex .row {
    display: -webkit-flex !important; /* Safari */
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

.pFlex .row.buttons {
   -webkit-flex-direction: row;
   -webkit-box-orient: horizontal;
   -webkit-box-direction: normal;
       -ms-flex-direction: row;
           flex-direction: row;
   -webkit-justify-content: flex-end;
   -webkit-box-pack: end;
       -ms-flex-pack: end;
           justify-content: flex-end;
}


/* fix div height based on content*/
.pBlock > div:after {
    content: "";
    display: table;
    clear: both;
}
/*#endregion Main*/

/*#region Width Ratio*/

.pS-1-2, .pW-1-2 {
    min-width: 500px;
}


.pS-1-3, .pS-4-12,
.pW-1-3, .pW-4-12 {
    width: 33.33333% !important;
}


.pS-2-3, .pS-8-12,
.pW-2-3, .pW-8-12 {
    width: 66.66667% !important;
}


.pS-1-4, .pS-3-12,
.pW-1-4, .pW-3-12 {
    width: 25% !important;
}

.pS-3-4, .pS-9-12,
.pW-3-4, .pW-9-12 {
    width: 75% !important;
}

.pS-1-5,
.pW-1-5 {
    width: 20% !important;
    min-width: 200px;
}

.pS-2-5,
.pW-2-5 {
    width: 40% !important;
}

.pS-3-5,
.pW-3-5 {
    width: 60% !important;
}

.pS-4-5,
.pW-4-5 {
    width: 80% !important;
    min-width: 800px;
}

.pS-1-6, .pS-2-12,
.pW-1-6, .pW-2-12 {
    width: 16.66667% !important;
    min-width: 166.66px;
}

.pS-5-6, .pS-10-12,
.pW-5-6, .pW-10-12 {
    width: 83.33333% !important;
    min-width: 833.33px;
}

.pS-1-7,
.pW-1-7 {
    width: 14.28571% !important;
}

.pS-2-7,
.pW-2-7 {
    width: 28.57143% !important;
}

.pS-3-7,
.pW-3-7 {
    width: 42.85714% !important;
}


.pS-4-7,
.pW-4-7 {
    width: 57.14286% !important;
}

.pS-5-7,
.pW-5-7 {
    width: 71.42857% !important;
}

.pS-6-7,
.pW-6-7 {
    width: 85.71429% !important;
}

.pS-1-8,
.pW-1-8 {
    width: 12.5% !important;
}

.pS-3-8,
.pW-3-8 {
    width: 37.5% !important;
}

.pS-5-8,
.pW-5-8 {
    width: 62.5% !important;
}

.pS-7-8,
.pW-7-8 {
    width: 87.5% !important;
}

.pS-1-9,
.pW-1-9 {
    width: 11.11111% !important;
}

.pS-2-9,
.pW-2-9 {
    width: 22.22222% !important;
}

.pS-4-9,
.pW-4-9 {
    width: 44.44444% !important;
}

.pS-5-9,
.pW-5-9 {
    width: 55.55556% !important;
}

.pS-6-9,
.pW-6-9 {
    width: 66.66667% !important;
}

.pS-7-9,
.pW-7-9 {
    width: 77.77778% !important;
}

.pS-8-9,
.pW-8-9 {
    width: 88.88889% !important;
}

.pS-1-10,
.pW-1-10 {
    width: 10% !important;
}

.pS-3-10,
.pW-3-10 {
    width: 30% !important;
}

.pS-7-10,
.pW-7-10 {
    width: 70% !important;
}

.pS-9-10,
.pW-9-10 {
    width: 90% !important;
}

.pS-1-11,
.pW-1-11 {
    width: 9.09091% !important;
}

.pS-2-11,
.pW-2-11 {
    width: 18.18182% !important;
}

.pS-3-11,
.pW-3-11 {
    width: 27.27273% !important;
}

.pS-4-11,
.pW-4-11 {
    width: 36.36364% !important;
}

.pS-5-11,
.pW-5-11 {
    width: 45.45455% !important;
}

.pS-6-11,
.pW-6-11 {
    width: 54.54545% !important;
}

.pS-7-11,
.pW-7-11 {
    width: 63.63636% !important;
}

.pS-8-11,
.pW-8-11 {
    width: 72.72727% !important;
}

.pS-9-11,
.pW-9-11 {
    width: 81.81818% !important;
}

.pS-10-11,
.pW-10-11 {
    width: 90.90909% !important;
}

.pS-1-12,
.pW-1-12 {
    width: 8.33333% !important;
    max-width: 8.33333% !important;
}

.pS-2-12,
.pW-2-12 {
    width: 16.66667% !important;
    max-width: 16.66667% !important;
}

.pS-3-12,
.pW-3-12 {
    width: 25% !important;
    max-width: 25% !important;
}

.pS-4-12,
.pW-4-12 {
    width: 33.33333% !important;
    max-width: 33.33333% !important;
}

.pS-5-6, .pS-10-12,
.pW-5-6, .pW-10-12 {
    width: 83.33333% !important;
    max-width: 83.33333% !important;
}

.pS-5-12,
.pW-5-12 {
    width: 41.66667% !important;
    max-width: 41.66667% !important;
}

.pS-6-12,
.pW-6-12 {
    width: 50% !important;
    max-width: 50% !important;
}

.pS-7-12,
.pW-7-12 {
    width: 58.33333% !important;
    max-width: 58.33333% !important;
}

.pS-8-12,
.pW-8-12 {
    width: 66.66667% !important;
    max-width: 66.66667% !important;
}

.pS-9-12,
.pW-9-12 {
    width: 75% !important;
    max-width: 75% !important;
}

.pS-11-12,
.pW-11-12 {
    width: 91.66667% !important;
    max-width: 91.66667% !important;
}

.pS-12-12,
.pW-12-12 {
    width: 100% !important;
    max-width: 100% !important;
}

.pW-1-2 {
    min-width: 500px;
}

.poffset-1-2 {
    margin-left: 50%;
}

.pW-1-3, .pW-4-12 {
    min-width: 333.33px;
}

.poffset-1-3 {
    margin-left: 33.33333%;
}

.pW-2-3, .pW-8-12 {
    min-width: 666.66px;
}

.poffset-2-3 {
    margin-left: 66.66667%;
}

.pW-1-4, .pW-3-12 {
    min-width: 250px;
}

.poffset-1-4 {
    margin-left: 25%;
}

.pW-3-4, .pW-9-12 {
    min-width: 750px;
}

.poffset-3-4 {
    margin-left: 75%;
}

.pW-1-5 {
    min-width: 200px;
}

.poffset-1-5 {
    margin-left: 20%;
}

.pW-2-5 {
    min-width: 400px;
}

.poffset-2-5 {
    margin-left: 40%;
}

.pW-3-5 {
    min-width: 600px;
}

.poffset-3-5 {
    margin-left: 60%;
}

.pW-4-5 {
    min-width: 800px;
}

.poffset-4-5 {
    margin-left: 80%;
}

.pW-1-6, .pW-2-12 {
    min-width: 166.66px;
}

.poffset-1-6 {
    margin-left: 16.66667%;
}

.pW-5-6, .pW-10-12 {
    min-width: 833.33px;
}

.poffset-5-6 {
    margin-left: 83.33333%;
}

.pW-1-7 {
    min-width: 142.85px;
}

.poffset-1-7 {
    margin-left: 14.28571%;
}

.pW-2-7 {
    min-width: 285.71px;
}

.poffset-2-7 {
    margin-left: 28.57143%;
}

.pW-3-7 {
    min-width: 428.57px;
}


.poffset-3-7 {
    margin-left: 42.85714%;
}

.pW-4-7 {
    min-width: 571.42px;
}

.poffset-4-7 {
    margin-left: 57.14286%;
}

.pW-5-7 {
    min-width: 714.42px;
}

.poffset-5-7 {
    margin-left: 71.42857%;
}

.pW-6-7 {
    min-width: 857.14px;
}

.poffset-6-7 {
    margin-left: 85.71429%;
}

.pW-1-8 {
    min-width: 125px;
}

.poffset-1-8 {
    margin-left: 12.5%;
}

.pW-3-8 {
    min-width: 375px;
}

.poffset-3-8 {
    margin-left: 37.5%;
}

.pW-5-8 {
    min-width: 625px;
}

.poffset-5-8 {
    margin-left: 62.5%;
}

.pW-7-8 {
    min-width: 875px;
}

.poffset-7-8 {
    margin-left: 87.5%;
}

.pW-1-9 {
    min-width: 111.1px;
}

.poffset-1-9 {
    margin-left: 11.11111%;
}

.pW-2-9 {
    min-width: 222.22px;
}

.poffset-2-9 {
    margin-left: 22.22222%;
}

.pW-4-9 {
    min-width: 444.44px;
}

.poffset-4-9 {
    margin-left: 44.44444%;
}

.pW-5-9 {
    min-width: 555.55px;
}

.poffset-5-9 {
    margin-left: 55.55556%;
}

.pW-6-9 {
    min-width: 666.66px;
}

.poffset-6-9 {
    margin-left: 66.66667%;
}

.pW-7-9 {
    min-width: 777.77px;
}

.poffset-7-9 {
    margin-left: 77.77778%;
}

.pW-8-9 {
    min-width: 888.88px;
}

.poffset-8-9 {
    margin-left: 88.88889%;
}

.pW-1-10 {
    min-width: 100px;
}

.poffset-1-10 {
    margin-left: 10%;
}

.pW-3-10 {
    min-width: 300px;
}

.poffset-3-10 {
    margin-left: 30%;
}

.pW-7-10 {
    min-width: 700px;
}

.poffset-7-10 {
    margin-left: 70%;
}

.pW-9-10 {
    min-width: 900px;
}

.poffset-9-10 {
    margin-left: 90%;
}

.pW-1-11 {
    min-width: 900.09px;
}

.poffset-1-11 {
    margin-left: 9.09091%;
}

.pW-2-11 {
    min-width: 181.81px;
}

.poffset-2-11 {
    margin-left: 18.18182%;
}

.pW-3-11 {
    min-width: 272.72px;
}

.poffset-3-11 {
    margin-left: 27.27273%;
}

.pW-4-11 {
    min-width: 363.63px;
}

.poffset-4-11 {
    margin-left: 36.36364%;
}

.pW-5-11 {
    min-width: 454.45px;
}

.poffset-5-11 {
    margin-left: 45.45455%;
}

.pW-6-11 {
    width: 54.54545% !important;
}

.poffset-6-11 {
    margin-left: 54.54545%;
}

.pW-7-11 {
    width: 63.63636% !important;
}

.poffset-7-11 {
    margin-left: 63.63636%;
}

.pW-8-11 {
    width: 72.72727% !important;
}

.poffset-8-11 {
    margin-left: 72.72727%;
}

.pW-9-11 {
    width: 81.81818% !important;
}

.poffset-9-11 {
    margin-left: 81.81818%;
}

.pW-10-11 {
    width: 90.90909% !important;
}

.poffset-10-11 {
    margin-left: 90.90909%;
}

.pW-1-12 {
    width: 8.33333% !important;
}

.pW-1-12 {
    min-width: 83.33px;
}

.pW-2-12 {
    min-width: 166.66px;
}

.pW-3-12 {
    min-width: 250px;
}

.pW-4-12 {
    min-width: 333.33px;
}

.poffset-1-12 {
    margin-left: 8.33333%;
}

.pW-5-12 {
    min-width: 416.66px;
}

.pW-6-12 {
    min-width: 500px;
}

.pW-7-12 {
    min-width: 583.33px;
}

.pW-8-12 {
    min-width: 666.66px;
}

.pW-9-12 {
    min-width: 750px;
}

.pW-9-12 {
    min-width: 750px;
}

.pW-10-12 {
    min-width: 833.33px;
}

.pW-11-12 {
    min-width: 916.66px;
}


/*#endregion Width Ratio*/

/*#region Columns */
.pFlex.col1.auto > .pBlock {
    max-width: none;
    width: 100%;
}

.pFlex.col2.auto > .pBlock {
    max-width: none;
    width: 50%;
}

.pFlex.col3.auto > .pBlock {
    max-width: none;
    width: 33.3%;
}

.pFlex.col4.auto > .pBlock {
    max-width: none;
    width: 25%;
}

.pFlex.col1 > .pBlock {
    max-width: 100%;
    width: 100%;
}

.pFlex.col2 > .pBlock {
    max-width: 50%;
    width: 50%;
}

.pFlex.col3 > .pBlock {
    max-width: 33.3%;
    width: 33.3%;
}

.pFlex.col4 > .pBlock {
    max-width: 25%;
    width: 25%;
}

.pFlex.col1 > .pFlex > .pBlock,
.pFlex.col2 > .pFlex > .pBlock,
.pFlex.col3 > .pFlex > .pBlock,
.pFlex.col4 > .pFlex > .pBlock {
    display: block;
    box-sizing: border-box;
    margin: 0;
    -ms-flex: auto;
    -moz-flex: auto;
    -webkit-flex: auto;
    -webkit-box-flex: 1;
            flex: auto;
}
/*#endregion Columns */

/*#region Label width*/
.synWebForm .pFlex .lbfx3 .row > label {
    min-width: 80px;
    width: auto;
}

.synWebForm .pFlex .lbfx-2 .row > label {
    min-width: 18px;
    width: auto !important;
}

.synWebForm .pFlex .lbfx-1 .row > label {
    min-width: 38px;
    width: auto !important;
}

.synWebForm .pFlex .lbfx0 .row > label {
    min-width: 58px;
    width: auto !important;
}

.synWebForm .pFlex .lbfx1 .row > label {
    min-width: 78px;
    width: auto !important;
}

.synWebForm .pFlex .lbfx2 .row > label {
    min-width: 98px;
    width: auto !important;
}

.synWebForm .pFlex .lbfx3 .row > label {
    min-width: 118px;
    width: auto !important;
}

.synWebForm .pFlex .lbfx4 .row > label {
    min-width: 138px;
    width: auto !important;
}

.synWebForm .pFlex .lbfx5 .row > label {
    min-width: 158px;
    width: auto !important;
}

.synWebForm .pFlex .lbfx6 .row > label {
    min-width: 178px;
    width: auto !important;
}

.synWebForm .pFlex .lbfx7 .row > label {
    min-width: 198px;
    width: auto !important;
}

.synWebForm .pFlex .lbfx8 .row > label {
    min-width: 218px;
    width: auto !important;
}
/*#endregion Label Width*/

/*#region Padding Margin */
/*.pBlock .margin, .pFlex.marginAllBox > .pBlock > div {
    margin: 10px;
}

.pBlock .margin, .pFlex.marginAll > .pBlock > div {
    margin-top: 10px;
}

.pBlock .margin, .pFlex.marginAllInput > .pBlock > div {
    margin: 10px 5px;
}*/

.pInput, .pForm > Label + div,
.pAllForm .row > Label + div {
    width: 100%;
    box-sizing: border-box;
    /*padding: 0 5px 0 0;*/
}

.pFlex > .pBlock > div {
    padding: 10px;
}

.pBlock > div > .pFlex > .pBlock > div,
.bBlock > div > .pFlex > .pBlock > div {
    padding: 0px;
}

.pBlock > div > .pFlex > .pBlock > div,
.bBlock > div > .pFlex > .pBlock > div {
    margin: 0 10px;
}

.pBlock > div > .pFlex > .pBlock:first-child > div,
.pBlock > div > .pFlex > .pBlock:last-child > div,
.bBlock > div > .pFlex > .pBlock:first-child > div,
.bBlock > div > .pFlex > .pBlock:last-child > div {
    margin: 0 10px 0 0;
}

.pBlock > div > .pFlex > .pBlock.last > div,
.pBlock > div > .pFlex > .pBlock.first > div,
.bBlock > div > .pFlex > .pBlock.last > div,
.bBlock > div > .pFlex > .pBlock.first > div {
    margin: 0px !important;
}

.pFlex.pMargin > .pBlock > div {
    margin: 5px 0px !important;
}

.pFlex.pMargin > .pBlock:first-child > div {
    margin: 0px 0px 5px 0px !important;
}

.pFlex.pMargin > .pBlock:last-child > div {
    margin: 5px 0px 0px 0px !important;
}

.pBlock > .pNoPadding,
.pBlock.pNoPadding > div,
.pNoPaddingAll .pBlock > div,
.bBlock > .bNoPadding,
.bNoPaddingAll .bBlock > div {
    padding: 0px;
}

.pBlock .pWrap {
    padding: 0px;
    margin: 0px;
}

.pNoMargin,
.pBlock.pNoMargin > div,
.pFlex.pNoMarginAll .pBlock > div {
    margin: 0px !important;
}

.pBlock.inlineInput .row {
    margin-bottom: 15px;
}

.bBlock > div {
    padding: 10px;
}

.row.pFloatRight.pMargin > div,
.row.pButton > div{
    margin-left: 10px;
}

/*#endregion Padding Margin */

/*#region Block */
.bWrap {
    width: 100%;
    padding: 0px;
}

.bBlock {
    float: left;
}

.b1col .bBlock:nth-child(n+1),
.b2col .bBlock:nth-child(2n+1),
.b3col .bBlock:nth-child(3n+1),
.b4col .bBlock:nth-child(4n+1),
.b5col .bBlock:nth-child(5n+1) {
    clear: both;
}

.b1col .bBlock {
    width: 100%;
}

.b2col .bBlock {
    width: 50%;
}

.b3col .bBlock {
    width: 33.3%;
}

.b4col .bBlock {
    width: 25%;
}

.b5col .bBlock {
    width: 20%;
}
/*#endregion Block */

/*#region Utility */
.pAutoScroll, .bAutoScroll {
    overflow: auto;
    max-height: 200px;
}

.pHide {
    display: none;
}

.pBorder,
.pBorderAll .pBlock > div,
.bBorder,
.bBorderAll .bBlock > div {
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.pAuto .pBlock, .bAuto .bBlock {
    width: auto;
}

.pNoGridviewBorder .dxgvControl,
.dxgvDisabled, .bNoGridviewBorder .dxgvControl,
.dxgvDisabled {
    border: 0px;
}

.row.pFloatRight,
.row.pButton{
    display: block !important;
    text-align: right;
}

    .row.pFloatRight > div,
    .row.pButton > div  {
        float: right;
    }

.synWebForm .row.pFloatRight label + span {
    display: block;
    height: auto;
    margin-top: 0px;
    line-height: 17px;
    border-bottom: 0px;
}
/*#endregion Utility */

/*#region Controls */
.pBlock .dxeErrorCellSys img {
    margin-left: 5px;
}

.synWebForm .pBlock .dxeErrorFrame {
    float: none !important;
    display: table-cell !important;
}

/* fix input truncate */
.synWebForm .pFlex .CDAAspxTextBox {
    float: none !important;
    display: inline-table !important;
}

.pFlex .dxgvControl.CDAGridView,
.pFlex .dxgvDisabled.CDAGridView,
.pFlex .dxgvControl.CDAGridView,
.dxgvDisabled.CDAGridView {
    width: 100% !important;
}

.eventDetailsHeader
{
    display:block;
    clear:both;
    width:100%;
    border-bottom:1px solid #CFCFCF;
    padding-bottom:4px;
    margin-bottom:8px;    
    margin-top:8px;
    color:black;
    font-weight: bold;
    font-size:12px;
}

.height-40px 
{
    height: 40px;
}

/*#endregion Controls */




