@charset "utf-8";
/* CSS Document */
*{
    padding:0;
    margin:0;
    box-sizing: border-box;
}

/**/
    
html,body{
    margin: 0 auto;
    min-height: 100vh;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    overflow-y: auto;
    line-height: 1.2em;
}

h1,h2,h3{
   font-weight: 600;
   margin: 0.60em 0;  
}

h1{
    font-size: 2rem;
    
}

h2{
    font-size: 1.5rem;  
}

h3{
    font-size: 1rem;  
}

a{
    cursor: pointer;
}

.bidsuccess{
    background-color: rgb(34, 143, 115); 
    color: #FFF; 
    border-radius: 10px; 
    padding:10px 10px; 
    margin-bottom: 10px;
}

.header,.footer{
    width:100%;
    color:#FFF;
}

.header a,.footer a{
    color:#333;
    padding:15px;
}

.topbar{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size:1.5rem;
    color:#FFF;
    background-color: #dd952d;
    height: 60px;
}

.topbar .container{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size:1.5rem;
}

.menubar,.portalbar{
    background-color: #FFF;
    color:#FFF;
    font-size: 14px;
}

.bottombar{
    background-color: #333;
    color:#FFF;
    font-size: 14px;
}

.menubar{
    border-bottom:8px solid #dd952d;
}

.menubar .container,.portalbar .container,.bottombar .container{
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  padding:15px 1%;
}

.menubar .container{
    justify-content: space-between;
}

.menubar .container > a{
   /*flex-grow: 1;*/
   text-align: center;
   border: 1px solid #FFF;
   background-color:#333;
   margin: 20px 10px;
   padding:0 2%;
   height: 52px;
   line-height: 50px;
   text-overflow: ellipsis;
   overflow: hidden;
   text-decoration: none;
}

.portalbar .container > a{
   /*flex-grow: 1;*/
   text-align: center;
   border: 1px solid #FFF;
   background-color:#333;
   color:#FFF;
   margin: 20px 10px;
   padding:0 2%;
   height: 52px;
   line-height: 50px;
   text-overflow: ellipsis;
   overflow: hidden;
   text-decoration: none;
}

.bottombar .container > div{
   flex-grow: 1;
   padding:15px 0;
}

.bottombar .container > div:last-of-type{
    text-align: right;
}

.bottombar .container > div:nth-of-type(2){
    flex-basis: 10%;
}

.menubar a{
    position: relative;
    text-transform: uppercase;
    font-weight: 400;
    color:#000;
    text-decoration: none;;
}

.menubar a:hover{
    text-decoration: none;
}

.menubar a:hover::after {
    content: "";
    width: 80%;
    height: 7px;
    position: absolute;
    left: 50%;
    bottom: -21px;
    background: #dd952d;
    transform: translate(-50%, -50%);
}

.portalbar a{
    text-transform: uppercase;
}

.portalbar a:hover{
    background: #dd952d;
    color:#333;
}

.menubar .container a:first-of-type{
     margin-left:0px; 
}

.menubar .container a:last-of-type{
     margin-right:0px;   
}

.body{
    width: 100%;
    min-height: calc(100vh - 372px);
    color:#000;
    padding: 30px;
}

.body a,.form a{
    color:rgb(58,84,165);
    font-weight: 600;
    text-decoration: underline;
}

.container{
    width: 100%;
    max-width: 1400px;
    margin:0 auto;
    padding:0 2%;
    font-size:0.9rem;
}

.body .container{
  max-width: 1400px;  
}

.auction{
    display: flex;
    flex-wrap: wrap;
}

.auction .item{
    margin: 5px;
    flex-basis: calc(50% - 10px);
    display: flex;
    flex-flow: column;
    border-radius: 0 0 10px 10px;
    order:2;
}

.auction .item:nth-child(even){
    background-color:rgba(58,84,165,.1);
}


.auction .item.priority{
    order:1;
}

.item.priority .title{
   background-color:rgba(34, 143, 115,1); 
}

.item .title{
    padding:6px 6px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:rgb(58,84,165);
    border-radius: 10px 10px 0 0;
    color: #FFF;
}

.item .itemdetails{
    display: flex;
    padding:0 10px 20px;
    flex-flow: column;
    flex: 1 1 auto;
}

.item .popup{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 250px; 
}

    
.img-responsive{
    max-width: 100%;
    height: auto;
    max-height: 230px;
    padding:5px 10px;
    
}

.bid-img{
    max-width: 100%;
    margin: 0 auto 20px;
    max-height: 200px;
    display: block;
    height: auto;
}

.currencyinput {
    position: relative;
}

#makebid {
    left: 5px;
    width: calc(100% - 30px);
    display: inline-block;
    position: relative;
}
.currencyinput:before {
    display: inline-block;
    position: relative;
    float:left;
    content:"R";
    top:3px;
    font-size:18px;
}

.itemcontent{
   display: inline-flex;
   flex: 1 1 auto;
   flex-direction: column;
}

.itemcontent a{
   word-break: break-word;
}

.bidarea{
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 200px;
    padding-top:10px;
}

.bidarea a.btn{
    width: calc(100% - 30px);
    text-align: center;
    padding:12px 6px;
    font-weight: 400;
    box-shadow: 0 1px 10px rgba(0,0,0,.2) ,0 1px 10px rgba(0,0,0,.2);
    background-color: rgb(34, 143, 115);
}

.bidarea a.btn:hover{
    background-color: rgb(22, 105, 56);
    text-decoration: none;
}

ul,ol{
    list-style-position: outside;
    margin-left: 20px;
}

.container p{
    padding:0.5em 0;
}

.bidbox{
    float: right; 
    width: 500px;
    text-align: center;
    border-radius: 10px;
    padding:10px 12px;
    box-shadow: 0 1px 10px #333,0 1px 10px #333;
    margin: 1rem 1.25rem;
    color:#333;
}

a.btn,.btn{
    background-color:#433205;
    color:#FFF;
    padding:12px 20px;
    display: inline-block;
    margin: .5em .25em;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    font-weight: normal;
}

a.btn:hover,.btn:hover{
    background-color:rgba(221,149,45,1);
    color:#FFF;
}

#clock{
    color:#000;
    line-height: 1.6em;
}

.footerspacer{
    height: 46px;
    background-color:#333;
}

.col-25,.col-33,.col-50,.col-66,.col-75,.col-100{
   float: left;
   margin: 3px 0;
}

.col-25{
  width: 25%;
}

.col-33{
  width: 33%;
}

.col-50{
  width: 50%;
}

.col-66{
  width: 66%;
}

.col-75{
    width: 75%; 
}
    
.col-100{
    width: 100%;  
}

.form{
    font-size:14px;
}


input[type=text],input[type=email],input[type=password], select, textarea {
  width: 100%;
  padding: 12px;
  display:block;
  line-height: 20px;
  border: 1px solid #ccc;
  background-color: #FFFFFF;
  border-radius: 5px;
}

input[type=submit]{
    border:0;
    width: 90%;
}

input:focus{
  outline: none;
}

label {
    padding: 12px 6px;
    display: inline-block;
    border-radius: 10px;
    margin:0 5px 0 0;
    background-color: #F9F8F8;
}

/* Clear floats after the columns- each time we use row, it will be on next line */
.row:after {
  content: "";
  display: table;
  clear: both;
}

@media screen and (max-width: 1280px) {
    .auction .item{
        flex-basis: calc(50% - 10px);
    }
}

@media screen and (max-width: 768px) {
  .col-25,.col-33,.col-50,.col-66,.col-75,.col-100 {
    width: 100%;
    margin-top: 2px;
  }
    
    h1,h2,h3{
        font-size: 15px;
    }
    
    body{
        font-size: 15px;
    }
    
    .bid-img{
        max-height: 150px;
    }
    
        
    .container{
        font-size: 13px;
    }
    
    .topbar {
        height:auto;
        padding:5px;
        font-size: 22px;
    }
    
    .menubar .container,.portalbar .container,.bottombar .container{
        flex-direction: column;
        display: none;
    }
    
    .menubar .container > a, .portalbar .container > a {
         border: 1px solid #333;
         width: 100%;
         margin:0;
         height: auto;
         text-align: left;
         line-height: normal;
         padding:10px 10px;
    }
    
    .item .popup{
        height: 170px;
    }
    
    .item .popup .img-responsive {
        max-height: 150px;
        height: 150px;
    }
    
    .body{
        padding:15px;
    }
    
    .auction .item{
        flex-basis: calc(50% - 10px);
    }
    
    .bidinfo{
        display: flex;
        flex-direction: column;
    }
    
    .bidbox{
        order: 1;
        width: calc(100% - 10px);
        margin: 10px 5px;
    }
}

@media screen and (max-width: 550px) {
    h1,h2,h3{
        font-size: 14px;
    }
    
    body{
        font-size: 14px;
    }
    
    .bid-img{
        max-height: 100px;
        display: none;
    }
        
    .container{
        font-size: 12px;
    }
    
     .auction .item{
         flex-basis: calc(100% - 10px);
    }
}

