.media {
    // Proper spacing between instances of .media
    margin-top: 15px;
  
    &:first-child {
      margin-top: 0;
    }
  }
  
  .media,
  .media-body {
    zoom: 1;
    overflow: hidden;
  }
  
  .media-body {
    width: 10000px;
  }
  
  .media-object {
    display: block;
  
    // Fix collapse in webkit from max-width: 100% and display: table-cell.
    &.img-thumbnail {
      max-width: none;
    }
  }
  
  .media-right,
  .media > .pull-right {
    padding-left: 10px;
  }
  
  .media-left,
  .media > .pull-left {
    padding-right: 10px;
  }
  
  .media-left,
  .media-right,
  .media-body {
    display: table-cell;
    vertical-align: top;
  }
  
  .media-middle {
    vertical-align: middle;
  }
  
  .media-bottom {
    vertical-align: bottom;
  }
  
  // Reset margins on headings for tighter default spacing
  .media-heading {
    margin-top: 0;
    margin-bottom: 5px;
  }
  
  // Media list variation
  //
  // Undo default ul/ol styles
  .media-list {
    padding-left: 0;
    list-style: none;
  }
  


.media-right {
    font-size: 20px;
}

.left{ float: left; }
.right{ float: right; }
.center{ text-align: center; }
.clear{ clear: both; }

img{ border: 0; }

.m0{margin: 0px;}
.m5{margin: 5px;}
.m10{margin: 10px;}
.m20{margin: 20px;}
.m30{margin: 30px;}
.m40{margin: 40px;}
.mb0{margin-bottom: 0px;}
.mb5{margin-bottom: 5px;}
.mb10{margin-bottom: 10px;}
.mb15{margin-bottom: 15px;}
.mb20{margin-bottom: 20px;}
.mb30{margin-bottom: 30px;}
.mb40{margin-bottom:40px;}
.mt0{margin-top: 0px;}
.mt5{margin-top: 5px;}
.mt10{margin-top: 10px;}
.mt20{margin-top: 20px;}
.mt30{margin-top: 30px;}
.mt40{margin-top:40px;}
.mv0{margin: 0px auto;}
.mv5{margin: 5px auto;}
.mv10{margin: 10px auto;}
.mv20{margin: 20px auto;}
.mv30{margin: 30px auto;}
.mv40{margin:40px auto;}

.ml5{margin-left: 5px}
.ml10{margin-left: 10px;}
.ml20{margin-left: 20px;}
.ml30{margin-left: 30px;}
.ml40{margin-left: 40px;}
.mr5{margin-right: 5px}
.mr10{margin-right: 10px;}
.mr20{margin-right: 20px;}
.mr30{margin-right: 30px;}
.mr40{margin-right: 40px;}

.p0{padding: 0px;}
.p5{padding: 5px;}
.p10{padding: 10px;}
.p20{padding: 20px;}
.p30{padding: 30px;}
.p40{padding: 40px;}
.pb5{padding-bottom: 5px;}
.pb10{padding-bottom: 10px;}
.pb20{padding-bottom: 20px;}
.pb30{padding-bottom: 30px;}
.pb40{padding-bottom:40px;}
.pt5{padding-top: 5px;}
.pt10{padding-top: 10px;}
.pt20{padding-top: 20px;}
.pt30{padding-top: 30px;}
.pt40{padding-top:40px;}
.pv5{padding:0px 5px}
.pv10{padding:0px 10px;}
.pv20{padding:0px 20px;}
.pv30{padding:0px 30px;}
.pv40{padding:0px 40px;}

.pl5{padding-left: 5px}
.pl10{padding-left: 10px;}
.pl20{padding-left: 20px;}
.pl30{padding-left: 30px;}
.pl40{padding-left: 40px;}
.pr5{padding-right: 5px}
.pr10{padding-right: 10px;}
.pr20{padding-right: 20px;}
.pr30{padding-right: 30px;}
.pr40{padding-right: 40px;}

.text-red, .has-error .checkbox, .has-error .checkbox-inline, .has-error .control-label, .has-error .help-block, .has-error .radio, .has-error .radio-inline, .has-error.checkbox label, .has-error.checkbox-inline label, .has-error.radio label, .has-error.radio-inline label {
    color: #a94442;
}

.text-white{ color: #FFF; }

.circle{
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
.circle_t {
    -webkit-border-radius: 50% 50% 0 0;
    -moz-border-radius: 50% 50% 0 0;
    border-radius: 50% 50% 0 0;
}
.circle_r {
    -webkit-border-radius: 0 50% 50% 0;
    -moz-border-radius: 0 50% 50% 0;
    border-radius: 0 50% 50% 0;
}
.circle_l{
    -webkit-border-radius: 50% 0 50% 0;
    -moz-border-radius: 50% 0 50% 0;
    border-radius: 50% 0 50% 0;
}
.circle_b{
    -webkit-border-radius: 0 0 50% 50% ;
    -moz-border-radius:  0 0 50% 50% ;
    border-radius:  0 0 50% 50% ;
}

.shadow{
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}

.text-shadow{
    text-shadow: 0px 0px 10px rgba(90,90,90,0.5);
}

.loading{
    position: absolute;
    top:0px;
    left: 0px;
    width:100%;
    height:100%;
    z-index: 9999999;
    display: none;
    min-height: 250px;
}

.loading.bottom-position{
    position: relative;
    max-height: 100px;
}

.loading_bgW{
    background-color: rgba(255,255,255,0.7);
}
/* */
.loading .fa{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -20px;
    margin-top: -20px;
    color: #000;
    font-size: 40px;
}
.modal-dialog .loading{
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.radius {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;    
}

.img_resize {
    display: block;
    width: 100%;   
    height: auto;
}

.background-cover , .bg-cover{
    background-position:center center;background-repeat:no-repeat;-webkit-background-size:cover;background-size:cover;display:block;width:100%;height:100%;
}

.trimText { width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.text-xs-left { text-align: left; }
.text-xs-right { text-align: right; }
.text-xs-center { text-align: center; }
.text-xs-justify { text-align: justify; }

@media (min-width: 768px ) {
    .text-sm-left { text-align: left; }
    .text-sm-right { text-align: right; }
    .text-sm-center { text-align: center; }
    .text-sm-justify { text-align: justify; }
}

@media (min-width: 992px) {
    .text-md-left { text-align: left; }
    .text-md-right { text-align: right; }
    .text-md-center { text-align: center; }
    .text-md-justify { text-align: justify; }
}

@media (min-width: 1200px ) {
    .text-lg-left { text-align: left; }
    .text-lg-right { text-align: right; }
    .text-lg-center { text-align: center; }
    .text-lg-justify { text-align: justify; }
} 
.uppercase {
    text-transform: uppercase;
}

.lowercase {
    text-transform: lowercase;
}

.capitalize {
    text-transform: capitalize;
}
.pointer{
    cursor:pointer
}
.bg-grey{
    background-color: #F5F5F5;
}
.bg-gray-light{background-color:#f7f7f7}

.btn-circle {width: 30px;height: 30px;text-align: center;padding: 6px 0;font-size: 12px;line-height: 1.42;border-radius: 15px;}

.modal-dialog.modal-transparent .modal-content{
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid rgba(0, 0, 0, 0);
    -webkit-box-shadow: 0 3px 9px rgba(0,0,0,0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0); 
} 

/*
html,body{height:100%;}
.wrapper{min-height:100%;position:relative;overflow:hidden;}
body>.wrapper{margin-bottom:-40px;}
footer,.footer-wrap{height:40px;}
*/
.color-main{color:#b09837;}
.color-red{color:#ff7800;}
.color-yellow{color:#fcffad;}
.color-blue{color:#0d4e73;}
.bg-main{background-color:#b09837;color:#FFF;}
.bg-top{background:url(../images/bg_top.png) repeat-x;color:#FFF;}
.bg-blue{background-color:#0d4e73;color:#FFF;}
.bg-bar{background:url(../images/bg_bar.png?v=2) repeat-x;text-align:center;max-width:280px;padding:10px 0;cursor:pointer;}
.bg-black{background-image:url(../images/transparent-bg.png);}
.bg-brown{background-color:#e5ce73;}
hr{border-top:1px solid #b09837;}
.panel hr{border-top:1px solid #FFF;}
h3{font-weight:bold;}
a:link{text-decoration:none;color:#0d4e73;}
a:visited{text-decoration:none;color:#0d4e73;}
a:hover{text-decoration:none;color:#ff7800;}
.grad{background:#ffd822;background:-webkit-linear-gradient(-90deg, #ffd822, #ffe954);background:-o-linear-gradient(-90deg, #ffd822, #ffe954);background:-moz-linear-gradient(-90deg, #ffd822, #ffe954);background:linear-gradient(-90deg, #ffd822, #ffe954);}

//
// Panels
// --------------------------------------------------


// Base class
.panel {
  margin-bottom: @line-height-computed;
  background-color: @panel-bg;
  border: 1px solid transparent;
  border-radius: @panel-border-radius;
  .box-shadow(0 1px 1px rgba(0,0,0,.05));
}

// Panel contents
.panel-body {
  padding: @panel-body-padding;
  &:extend(.clearfix all);
}

// Optional heading
.panel-heading {
  padding: @panel-heading-padding;
  border-bottom: 1px solid transparent;
  .border-top-radius((@panel-border-radius - 1));

  > .dropdown .dropdown-toggle {
    color: inherit;
  }
}

// Within heading, strip any `h*` tag of its default margins for spacing.
.panel-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: ceil((@font-size-base * 1.125));
  color: inherit;

  > a,
  > small,
  > .small,
  > small > a,
  > .small > a {
    color: inherit;
  }
}

// Optional footer (stays gray in every modifier class)
.panel-footer {
  padding: @panel-footer-padding;
  background-color: @panel-footer-bg;
  border-top: 1px solid @panel-inner-border;
  .border-bottom-radius((@panel-border-radius - 1));
}


// List groups in panels
//
// By default, space out list group content from panel headings to account for
// any kind of custom content between the two.

.panel {
  > .list-group,
  > .panel-collapse > .list-group {
    margin-bottom: 0;

    .list-group-item {
      border-width: 1px 0;
      border-radius: 0;
    }

    // Add border top radius for first one
    &:first-child {
      .list-group-item:first-child {
        border-top: 0;
        .border-top-radius((@panel-border-radius - 1));
      }
    }

    // Add border bottom radius for last one
    &:last-child {
      .list-group-item:last-child {
        border-bottom: 0;
        .border-bottom-radius((@panel-border-radius - 1));
      }
    }
  }
  > .panel-heading + .panel-collapse > .list-group {
    .list-group-item:first-child {
      .border-top-radius(0);
    }
  }
}
// Collapse space between when there's no additional content.
.panel-heading + .list-group {
  .list-group-item:first-child {
    border-top-width: 0;
  }
}
.list-group + .panel-footer {
  border-top-width: 0;
}

// Tables in panels
//
// Place a non-bordered `.table` within a panel (not within a `.panel-body`) and
// watch it go full width.

.panel {
  > .table,
  > .table-responsive > .table,
  > .panel-collapse > .table {
    margin-bottom: 0;

    caption {
      padding-left: @panel-body-padding;
      padding-right: @panel-body-padding;
    }
  }
  // Add border top radius for first one
  > .table:first-child,
  > .table-responsive:first-child > .table:first-child {
    .border-top-radius((@panel-border-radius - 1));

    > thead:first-child,
    > tbody:first-child {
      > tr:first-child {
        border-top-left-radius: (@panel-border-radius - 1);
        border-top-right-radius: (@panel-border-radius - 1);

        td:first-child,
        th:first-child {
          border-top-left-radius: (@panel-border-radius - 1);
        }
        td:last-child,
        th:last-child {
          border-top-right-radius: (@panel-border-radius - 1);
        }
      }
    }
  }
  // Add border bottom radius for last one
  > .table:last-child,
  > .table-responsive:last-child > .table:last-child {
    .border-bottom-radius((@panel-border-radius - 1));

    > tbody:last-child,
    > tfoot:last-child {
      > tr:last-child {
        border-bottom-left-radius: (@panel-border-radius - 1);
        border-bottom-right-radius: (@panel-border-radius - 1);

        td:first-child,
        th:first-child {
          border-bottom-left-radius: (@panel-border-radius - 1);
        }
        td:last-child,
        th:last-child {
          border-bottom-right-radius: (@panel-border-radius - 1);
        }
      }
    }
  }
  > .panel-body + .table,
  > .panel-body + .table-responsive,
  > .table + .panel-body,
  > .table-responsive + .panel-body {
    border-top: 1px solid @table-border-color;
  }
  > .table > tbody:first-child > tr:first-child th,
  > .table > tbody:first-child > tr:first-child td {
    border-top: 0;
  }
  > .table-bordered,
  > .table-responsive > .table-bordered {
    border: 0;
    > thead,
    > tbody,
    > tfoot {
      > tr {
        > th:first-child,
        > td:first-child {
          border-left: 0;
        }
        > th:last-child,
        > td:last-child {
          border-right: 0;
        }
      }
    }
    > thead,
    > tbody {
      > tr:first-child {
        > td,
        > th {
          border-bottom: 0;
        }
      }
    }
    > tbody,
    > tfoot {
      > tr:last-child {
        > td,
        > th {
          border-bottom: 0;
        }
      }
    }
  }
  > .table-responsive {
    border: 0;
    margin-bottom: 0;
  }
}


// Collapsible panels (aka, accordion)
//
// Wrap a series of panels in `.panel-group` to turn them into an accordion with
// the help of our collapse JavaScript plugin.

.panel-group {
  margin-bottom: @line-height-computed;

  // Tighten up margin so it's only between panels
  .panel {
    margin-bottom: 0;
    border-radius: @panel-border-radius;

    + .panel {
      margin-top: 5px;
    }
  }

  .panel-heading {
    border-bottom: 0;

    + .panel-collapse > .panel-body,
    + .panel-collapse > .list-group {
      border-top: 1px solid @panel-inner-border;
    }
  }

  .panel-footer {
    border-top: 0;
    + .panel-collapse .panel-body {
      border-bottom: 1px solid @panel-inner-border;
    }
  }
}


// Contextual variations
.panel-default {
  .panel-variant(@panel-default-border; @panel-default-text; @panel-default-heading-bg; @panel-default-border);
}
.panel-primary {
  .panel-variant(@panel-primary-border; @panel-primary-text; @panel-primary-heading-bg; @panel-primary-border);
}
.panel-success {
  .panel-variant(@panel-success-border; @panel-success-text; @panel-success-heading-bg; @panel-success-border);
}
.panel-info {
  .panel-variant(@panel-info-border; @panel-info-text; @panel-info-heading-bg; @panel-info-border);
}
.panel-warning {
  .panel-variant(@panel-warning-border; @panel-warning-text; @panel-warning-heading-bg; @panel-warning-border);
}
.panel-danger {
  .panel-variant(@panel-danger-border; @panel-danger-text; @panel-danger-heading-bg; @panel-danger-border);
}

/*
html,body{height:100%;}
.wrapper{min-height:100%;position:relative;overflow:hidden;}
body>.wrapper{margin-bottom:-40px;}
footer,.footer-wrap{height:40px;}
*/
.color-main{color:#b09837;}
.color-red{color:#ff7800;}
.color-yellow{color:#fcffad;}
.color-blue{color:#0d4e73;}
.bg-main{background-color:#b09837;color:#FFF;}
.bg-top{background:url(../images/bg_top.png) repeat-x;color:#FFF;}
.bg-blue{background-color:#0d4e73;color:#FFF;}
.bg-bar{background:url(https://ddfin.globle-un.com/product_images/uploaded_images/bg-bar.png) repeat-x;text-align:center;max-width:280px;padding:10px 0;cursor:pointer;}
.bg-black{background-image:url(../images/transparent-bg.png);}
.bg-brown{background-color:#e5ce73;}
hr{border-top:1px solid #b09837;}
.panel hr{border-top:1px solid #FFF;}
h3{font-weight:bold;}
a:link{text-decoration:none;color:#0d4e73;}
a:visited{text-decoration:none;color:#0d4e73;}
a:hover{text-decoration:none;color:#ff7800;}
.grad{background:#ffd822;background:-webkit-linear-gradient(-90deg, #ffd822, #ffe954);background:-o-linear-gradient(-90deg, #ffd822, #ffe954);background:-moz-linear-gradient(-90deg, #ffd822, #ffe954);background:linear-gradient(-90deg, #ffd822, #ffe954);}