/**
 * auction_bid_panel
 *
 *
 * LICENSE: $Licensetext:$
 *
 * @category   css
 * @package    NG
 * @author     Stephan Küthe<sk@onsite.org>
 * @copyright  2015 onSite.org
 * @license    $Licenselink:$  $Licensename:$
 * @version    $Id$
 */

html, body {
  overscroll-behavior: none;
}

/* Basic styles */
.ui-content .ui-body {
    text-align: left;
    border-color: #ddd;
}
.ui-content p {
    color: #777;
    line-height: 140%
}
/* Stack all blocks to start */
.ui-content .ui-block-a,
.ui-content .ui-block-b,
.ui-content .ui-block-c {
    width: 100%;
    float: none;
}

.ui-content .ui-block-a {
	/* background:#ccc; */
}

.ui-content .ui-block-b {
	/* background:#ddd; */
}

/* Collapsing borders */
.ui-content > div + div .ui-body {
    border-top-width: 0;
}
 
  .ui-btn:hover{
	background:grey;
  }
  
#delete_last_bid,
#call_reset
{
  	color:red;
}
  
#surcharge {
	color:green;
}
	   
.b_yellow{
	/* background:yellow; */
  	color:#EFEF09;
}
	
.b_green{
	/* background:green; */
  	color:green;
}
  
#panel_bid_button span {
	margin-left:10px;
  	display:inline-block;
}
  
.ui-progressbar {
	position: relative;
}
  
.progress-label {
	position: absolute;
	left: 50%;
	top: 4px;
	font-weight: bold;
	text-shadow: 1px 1px 0 #fff;
}
  
#logo_top {
	margin-top:10px;
	margin-left:10px;
}
  
#message_area {
	position:relative;
  	margin-bottom:10px;
}
  
#message_error,
#message_warn,
#message_ok
{
	width:100%;
  	padding:5px;
   	/* padding-top:25px; */	
  	display:none;
   	position:absolute;
   	z-index:100;
}

#message_error ul li,
#message_warn ul li,
#message_ok ul li
{
    list-style-type: none;
}
  
#message_error {
	background:#F2DEDE;
  	color:black;
}
  
#message_warn {
	background:#fcf8e3;
  	color:black;
}
  
#message_ok {
  	background-color:#DFF0D8;
	/* border:2px dashed #00FF00; */
  	height:20px;
  	color:black;
}
  
.wrap {
    white-space: normal !important;
}
  
#bidder_list {
	font-size:0.75em;
}
  
.video_stream_area {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56%;
}

.video_stream_area iframe {
  	position: absolute;
  	width: 100%;
  	height: 100%;
  	left: 0;
  	top: 0;
}
   
video {
    background-color: #f9f9f9;
}
   
.resp-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}
    
.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
  
/*
img {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    background: no-repeat center/cover;
}
*/
  
.square {
	position: relative;
    width: 100%;
    padding-bottom : 100%; /* = width for a 1:1 aspect ratio */
    margin:1.66%;
    background-position:center center;
    background-repeat:no-repeat;
    background-size:contain; /* you change this to "contain" if you don't want the images to be cropped - -cover */
	-webkit-background-size:contain;
  	-moz-background-size:contain;
  	-o-background-size:contain;
	border: 1px solid;
}
.square50{
    position: relative;
    width: 50%;
    padding-bottom : 50%; /* = width for a 1:1 aspect ratio */
    margin:1.66%;
    background-position:center center;
    background-repeat:no-repeat;
    background-size:contain; /* you change this to "contain" if you don't want the images to be cropped - -cover */
	-webkit-background-size:contain;
  	-moz-background-size:contain;
  	-o-background-size:contain;
	border: 1px solid;
}

.square_list{
	position: relative;
    width: 100%;
    padding-bottom : 100%; /* = width for a 1:1 aspect ratio */
    margin:1.66%;
    background-position:center center;
    background-repeat:no-repeat;
    background-size:contain; /* you change this to "contain" if you don't want the images to be cropped - -cover */
	-webkit-background-size:contain;
  	-moz-background-size:contain;
  	-o-background-size:contain;
}

/*.img_1-1{background-image:url('https://farm4.staticflickr.com/3766/12953056854_b8cdf14f21.jpg');} */
/* .img_1-1{background-image:url('http://192.168.1.249/Webseiten/1.auction.NG_arbeitskopie/arbeitskopie_stephan3/images/item_images/featured/4961_0.jpg');} */

/* vorher 50 em */
@media all and (max-width: 60em) {
	.ui-content {		
		display: -webkit-flex; /* Safari */
    	display: flex;
		-webkit-flex-wrap: wrap;
  		flex-wrap: wrap;
	}
	
	.ui-block-a {
		order: 2;
		-webkit-order: 2;	
	}
	.ui-block-b {
		order: 1;
		-webkit-order: 1;
	}
	.ui-block-c {
		order: 3;
		-webkit-order: 3;
	}
	
	#mobilformat_id_title {
		display: block;
		margin-top:-30px;
	}
	
	#los_nummer {
		display: none;
	}
	
	#bidder_paddle3 .ui-block-a{
		width: 100%;
	}
	#bidder_paddle3 .ui-block-a button{
		width:99%;
	}
	#bidder_paddle3 .ui-block-b{
		width: 100%;
	}
	#bidder_paddle3 .ui-block-b button{
		width:99%;
	}
	#bidder_paddle3 .ui-block-c{
		width: 100%;
	}
	#playerDiv {
		width:100%;
		height:25vh;
    }
    #send_message_box {
		width:100%;
    }
    #saved_message_box {
		width:100%;
    }
	#send_message {
		width:99%;
    }
    #bid_info {
		margin-top:-60px;
    }
	#search_los_block {
		margin-top:-2px;
		margin-left:0px;
    }
    
    #hall_stream_flex {
        margin-bottom: 20px;
        margin-left:-5px;
    }
}
/* 1nd breakpoint - vorher 50 em */
@media all and (min-width: 60em) {
    .ui-content .ui-body {
       min-height: 18em;
    }
    .ui-content .ui-block-a {
      float: left;
      width: 27%;
    }
    .ui-content .ui-block-b {
      float: left;
      width: 40%;
    }
	.ui-content .ui-block-c {
      float: left;
      width: 33%;
    }
    .ui-content > div:first-child .ui-body {
        border-bottom-width: 1px;
    }
    .ui-content > div + div .ui-body {
        border-left-width: 0;
    }
	#mobilformat_id_title {
		display: none;
	}
	#bidder_paddle3 .ui-block-a{
		width: 50%;
	}
	#bidder_paddle3 .ui-block-a button{
		width:100%;
	}
	#bidder_paddle3 .ui-block-b{
		width: 50%;
	}
	#bidder_paddle3 .ui-block-b button{
		width:97%;
	}
	#bidder_paddle3 .ui-block-c{
		width: 45%;
	}
	#playerDiv {
		width:30vw;
		height:25vh;
    }
	#send_message_box {
		width:50%;
    }
    #saved_message_box {
		width:50%;
    }
    #send_message {
		width:93%;
    }
	#bid_info {
		margin-top:-20px;
    }
	#search_los_block {
		margin-top:-2px;
		margin-left:10px;
    }
}
/* 2rd breakpoint */
@media all and (min-width: 75em) {
    .ui-content .ui-body {
      font-size: 125%;
    }
    .ui-content .ui-block-a {
      float: left;
      width: 27%;
    }
    .ui-content .ui-block-b {
      float: left;
      width: 40%;
    }
	.ui-content .ui-block-c {
      float: left;
      width: 33%;
    }
	#mobilformat_id_title {
		display: none;
	}
	#bidder_paddle3 .ui-block-a{
		width: 30%;
	}
	#bidder_paddle3 .ui-block-a button{
		width:91%;
	}
	#bidder_paddle3 .ui-block-b{
		width: 30%;
	}
	#bidder_paddle3 .ui-block-b button{
		width:97%;
	}
	#bidder_paddle3 .ui-block-c{
		width: 37%;
	}	
	#playerDiv {
		width:30vw;
		height:25vh;
    }
	#send_message_box {
		width:50%;
    }
    #saved_message_box {
		width:50%;
    }
	#send_message {
		width:93%;
    }
	#bid_info {
		margin-top:-20px;
    }
	#search_los_block {
		margin-top:-2px;
		margin-left:10px;
    }
}
