﻿/* Custom, iPhone Retina */
@media only screen and (min-width : 320px)
{
    table td[class*="col-"]
    {
        display: block;
        vertical-align: top;
    }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px)
{

    table td[class*="col-"]
    {
        display: table-cell;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px)
{
    #ulTabs .nav > li 
    {
        display: inline-block;
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px)
{
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px)
{
}

@media only screen and (max-width : 1024px)
{
    .input-group.th-searchbox
    {
        width: 100%;
    }
}

@media only screen and (max-width : 767px)
{
    body .page-ttl-resp td
    {
        width: 100% !important;
        display: block !important;
        text-align: center;
    }
    body .page-ttl-resp td .btn
    {
        display: block;
        width:100% !important;
        margin-bottom:5px;
    }
    body .page-ttl-resp td.ttl-td
    {
        padding: 15px !important;
    }
    body .page-ttl-resp td.ttl-td .SectionHeader_Big
    {
        font-size: 18px;
    }
    .page-header-content .heading-elements-toggle
    {
        display: none !important;
    }
    .customer-box-table-align .col{text-align:center !important}
    .customer-box-table-align .col .italic{font-style:italic; margin-bottom:15px; display:block;}
    .contact-cont.tab-content {padding: 0 15px;}
    .contact-cont.tab-content .tab_content {padding: 10px 0;}
    .navbar-header .navbar-brand
    {
        margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;    
    }
    .navbar-header .nav.navbar-nav
    {
        position: absolute;
    right: 0;
    top: 2px;    
    }
}


@media only screen and (min-width : 769px) and (max-width : 1024px)
{

    body .page-ttl-resp td
    {
        width: 50% !important;
    }
    body .page-ttl-resp td.ttl-td
    {
    }
    body .page-ttl-resp td.ttl-td .SectionHeader_Big
    {
        font-size: 18px;
    }
}



/*-Responsive Table-*/
.responsive-table
{
    margin: 1em 0;
    min-width: 300px;
}
.responsive-table > tbody > tr > td
{
    font-weight: 500;
}
.responsive-table > tbody > tr > tr
{
    border-bottom: 1px solid #999;
}
.responsive-table > tbody > tr > th
{
    position: relative;
}
/*
.responsive-table th {
 display: none;
 border: none !important;
}
*/
.responsive-table > tbody > tr > td
{
    display: block;
    border: none !important;
}
.responsive-table > tbody > tr > td > a:not(.btn-a, .btn)
{
    display: inline !important;
}

.responsive-table > tbody > tr > td:first-child
{
    padding-top: .5em;
}
.responsive-table > tbody > tr > td:last-child
{
    padding-bottom: .5em;
}
.responsive-table > tbody > tr > td:before
{
    content: attr(data-th) " ";
    font-weight: bold;
    width: 6.5em;
    display: inline-block;
    margin-right: 15px;
}

@media (min-width: 1025px)
{
    .responsive-table > tbody > tr > td:before
    {
        display: none;
    }
}
.responsive-table > tbody > tr > th, .responsive-table > tbody > tr > td
{
    text-align: left;
}
.responsive-table > tbody > tr > th.text-center, .responsive-table > tbody > tr > td.text-center
{
    text-align: center;
}


@media (min-width: 1025px)
{
    .responsive-table > tbody > tr > th, .responsive-table > tbody > tr > td
    {
        display: table-cell;
        padding: .25em .5em;
        border-top: 1px solid #ddd;
    }
    .responsive-table > tbody > tr > th:first-child, .responsive-table > tbody > tr > td:first-child
    {
        padding-left: 0;
    }
    .responsive-table > tbody > tr > th:last-child, .responsive-table > tbody > tr > td:last-child
    {
        padding-right: 0;
    }
}
.responsive-table
{
    overflow: hidden;
}

@media (min-width: 1025px)
{
    .responsive-table > tbody > tr > th, .responsive-table > tbody > tr > td
    {
        padding: 1em !important;
    }
}
.responsive-table > tbody > tr > th, .responsive-table > tbody > tr > td:before
{
    font-weight: 700;
}

@media (max-width: 1023px)
{
    .responsive-table > tbody > tr > th, .responsive-table > tbody > tr > td
    {
        display: block;
        padding: 5px 20px;
    }

}


@media (max-width: 1024px)
{
    .responsive-table.no-th > tbody > tr > th
    {
        display: none !important;
    }
    .responsive-table.row-click > tbody > tr > td{
        padding: 0!important;
        position:relative;
    }
    .responsive-table.row-click > tbody > tr > td > a
    {
        display:block;
        padding-left: 10em;
        position: relative;
        z-index: 1;
        padding-top: 5px;
        padding-bottom: 5px;
        min-height: 38px;
        line-height:16px;
    }
    .responsive-table.row-click > tbody > tr > td:before
    {
        position: absolute;
        left: 18px;
        top: 2px;
        z-index: 0;
        min-height:38px;
        line-height:14px;
        width:8em;
    }
    
    
}


/*-End Responsive Table -*/

@media only screen and (max-width : 767px)
{
    .btn-group
    {
        display:block!important;
    }
    .btn-group input#ctl00_mainContent_btnOpportunity
    {
        width: 48%;
        margin-bottom: 10px;
        float: right;
    }
    .btn-group input#ctl00_mainContent_btnCreateQuote 
    {
        width: 49%;
        margin-bottom: 10px;
        float: left;
        }
    .btn-group input#ctl00_mainContent_btnSave 
    {
        width:100%;
        margin-bottom:10px;
        border-radius:0px;
        }
    #ulTabs .panel-group .panel
        {
        display:none!important;    
        }
    #ulTabs .panel-group .panel:nth-child(5)
        {
        display:block!important;    
        }
    #ulTabs .panel-group .panel:nth-child(1)
        {
        display:block!important;    
        }
    #ulTabs .panel-group .panel:nth-child(2)
        {
        display:block!important;    
        }
    .card#ulTabs
    {
        box-shadow:none;
        background:none;    
    
    }
    #ulTabs .panel-group .panel-heading
    {
        padding:0;
    }
    #ulTabs .panel-group .panel-heading h4 a
    {
        display:block;
        padding:10px;
        position:relative;
    }
    #ulTabs .panel-group .panel-heading h4 a i.more-less
    {
          position: absolute!important;
        right: 10px!important;
        top: 10px!important;
        display: block!important;
    }
    #ulTabs .panel-group .panel-heading 
    {
        background-color:#696A6D;
        color:#fff;
        border-radius:0px;   
}





