.box {
  width: 100%;
  background: #fff;
  border-radius: 0 0 3px 3px;
  box-shadow: 0 6px 0 #eaeaea;
  overflow: hidden;
  box-sizing: border-box;	
}
.box_inner {padding: 0 10px 5px;}

.hp-clip_container {
  width: 555px;
  /*height: 425px;*/
  padding: 20px 28px;
  float: left;
  margin-bottom: 55px;	
}
section .hp-clip_container:nth-child(2n) {float: right;}
section .hp-clip_container:nth-child(odd) {clear: both;}
section .hp-clip_container:nth-last-child(1), section .hp-clip_container:nth-last-child(2) {margin-bottom: 0;}

.hp_clip-hold .clip img {
	width: 100%;
	height: auto;
}

.clip {position: relative;}

.clip img {
  display: block;
  width: 150px;
  height: auto;
}

/*#clip_bin .clip img {
	width: 150px;	
}*/

.hp-clip_container .clip img {
	width: 500px;
	/*height: 280px;*/
	height: 320px;
	max-width: 100%;
}

.clip {
  position: relative;
  overflow: hidden;
}

.clip.drop {
	height: 200px;
	
}

.clipdrop img {
	width: 100%;
	height: 100%;
}

.hp-clip_container h3 {
  padding: 0;
  background: transparent;
  color: #1f2a35;
  font-size: 20px;
  font-weight: 300;
  text-transform: uppercase;
  margin-top: 0;
}
.hp-clip_container .hp_clip-hold {
  position: relative;
  width: 498px;
  background: #1f2a35;
  margin-bottom: 10px;
  overflow: hidden;	
}

.clip_buttons {
	overflow: hidden;
	background: #4fbf7e;
}
.clip_buttons  a {
  display: block;
  width: 20%;
  height: 54px;
  line-height: 54px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  box-sizing: border-box;
  float: left;
  -webkit-transition:all 1.5s;
  -moz-transition:all 1.5s; 
  transition:all 1.5s;	
}
.clip_buttons  a:last-child {border: none;}
.clip_buttons a:hover {
  background: #22a75a;
  -webkit-transition:all 0.5s;
  -moz-transition:all 0.5s; 
  transition:all 0.5s;
}

#stage {
  position: relative;
  width: 900px;
  height: 900px;
  border: 2px solid #eee;
  background: rgba(255,255,255,1.0);
  overflow: hidden;	
  box-sizing: border-box;
}

#drag {
  height: auto !important;
  width: auto !important;
  opacity: 0;
  position: relative;
  text-align: center;
  display: inline-block;
  min-width: 900px;
  min-height: 900px;
  white-space: nowrap;
  cursor: move;
  cursor: -webkit-grab;
  -ms-touch-action: none;
  touch-action: none;
  -webkit-transform-origin: center center;
  transform-origin: center center;
  transition: opacity 0.2s, -webkit-transform 0.5s;
  transition: transform 0.5s, opacity 0.2s;
  transition: transform 0.5s, opacity 0.2s, -webkit-transform 0.5s;
  background: #fff;
  box-sizing: border-box;
}


.row {
  position: relative;
  text-align: center;
  white-space: nowrap;
  height: 0; 				/*height: 547px;*/
  overflow: hidden;
}

.vqa {
  /*position: absolute;
  top: 0;
  display: none;*/
  display: inline-block;
  width: 350px;
  vertical-align: top;
  background: #fff;
  margin: 0 10px;
  /*opacity: 0;*/
}
#first_block {opacity: 1; width: 400px;}
#first_row {height: 417px;}

.vqa .clipdrop {
  width: 100%;
  height: 250px;
  margin: 0;	
}
.vqa .clipdrop .clip {
	position: relative;
	background: #000; 
	color: #fff;
}
/*.vert-line {
  height: 34px;	
}*/
.a_line {height: 68px; display: none;}
.a_line .vert-line {height: 100%;}
.horz-line { width: 50%; height: 20px;}
/*.vqa .horz-line {width: 300px;}*/
fieldset {width: 90%;}

.add_Q {cursor: pointer;}

.q_block, .a_block {display: none;}


.line {
  position: absolute;
  top: 0;
  border-top: 1px solid #34495e;	
}


.nano {
	height: 300px !important;
}

#the_clips-box {
  padding: 20px 0 20px 19px;	
}

#the_clips {
  text-align: center;
  overflow: hidden;	
}

#the_clips .clip_bin {
  width: 156px;
	margin-left: 20px;	
}

#the_clips .clip img {
  display: block;

  /*height: 100%;*/
	margin-top: 10px;
	margin-bottom: 10px;
}

.large_clip {
  position: relative;
  padding: 15px;
  text-align: center;
  border: 1px dashed #1f2a35;
  /*border-radius: 20px;*/	
}

.clipdrop {
  position: relative;
  width: 80%;
  padding: 15px;
  text-align: center;
  border: 1px dashed #1f2a35;
  margin:  20px auto 0;
  box-sizing: border-box;
}

.clip_clone {
	opacity: 0.5;
}

.hovered {
    border-color: rgb(0, 255, 0);
    border-style: solid;
    border-width: 2px;
}

#question_1 .clip {
	/*padding-top: 20%;
	padding-bottom: 20%;*/
}

.intro_video_text {
	font-size: 11px;
	color: #999;
	line-height: 0.3em;
	text-transform: none;
}

.add_Q {background: #27ae60;}
.add_A {background: #34495e;}

.vert-line {
  position: relative;
  width: 1px;
  height: 35px;
  background: #34495e;
  margin: auto;	
}
.horz-line {
  position: relative;
  width: 50%;
  height: 35px;
  border-top: 1px solid #34495e;
  margin: auto;	
}
.horz-line .vert-line:first-child {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;	
}
.horz-line .vert-line:last-child {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;	
}

.halfbox {
  display: inline-block;
  width: calc(50% - 2px);
  text-align: center;
  vertical-align: top;	
}

#dialog-form, .dialog-form {
	display: none;
}

#dialog-message {
	height: 100% !important;
}

/* Remove "close x" for all dialogs */
.ui-dialog-titlebar .ui-icon-closethick {
    display: none;
}

label {
	display: inline-block;
    margin-top: 10px;
}

/* New Edits */

.ui-draggable-dragging {
  cursor: -moz-grabbing !important;
  cursor: -webkit-grabbing !important;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.row {
  position: relative;
  text-align: center;
  white-space: nowrap;
  height: 0;
  overflow: hidden;
}

.ab_block {
  display: inline-block;
}

.vqa {
  display: inline-block;
  width: 360px;
  z-index: 100;
  vertical-align: top;
  background: transparent;
  margin: 0 20px;
}

.vqa .clipdrop {
  width: 100%;
  margin: 0;
  border: 2px dashed #989898;
}

.vqa .clipdrop .clip {
  /*padding-bottom: 35%;
  padding-top: 25%;*/
  height: 215px;
  background: #1B1B1B;
  color: #E2E2E2;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.vqa .clipdrop .clip img {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
}

#stage .clip {
	padding-top: 60px;
}

.vqa > .center {
  display: none;
}
fieldset {
  width: 90%;
}
.add_Q {
  cursor: pointer;
}
.q_block, .a_block, .a_line {
  display: none;
}
.a_block .button {
  outline: 2px solid white;
}
#block_1 {
  width: 400px;
}
#row_1 {
  height: 420px;
  margin-top: 20px;
}
#question_1 > .center {
    display: block;
}
.content nav {
  padding: 20px 0;
  text-align: center;
}
.jsplumb-connector, .jsplumb-endpoint, .jsplumb-overlay {
  z-index: -1;
  pointer-events: none;
}

.q_block .remove {
  color: white;
  width: 20px;
  line-height: 20px;
  cursor: pointer;
  margin: 0 5px;
  font-size: 16px;
  opacity: 0;
  visibility: hidden;
  background: #EA3535;
  position: absolute;
  height: 20px;
  transition: opacity .25s, visibility .25s;
  border-radius: 4px;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.q_block legend:hover .remove.active {
  opacity: 1;
  visibility: visible;
}


*:focus {
    outline: 0;
}

/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.modal {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
	background: rgba( 22, 160, 133, 0.6 );
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;   
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal {
    display: block;
}

.modal_inner {
	width: 200px;
	text-align: center;
	margin: 0 auto;
	background-color: #ccc;
	position:absolute;
	padding-top: 60px;
 	left:50%;
 	top:50%;
 	margin-left:-100px;
 	margin-top:-25px;
	border-radius: 10px;
	background: rgba( 255, 255, 255, 1.0 ) 
                url('../img/loading2.gif') 
                50% 20px 
                no-repeat;
	
	-webkit-user-select: none; /* Chrome/Safari */        
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+ */

	/* Rules below not implemented in browsers yet */
	-o-user-select: none;
	user-select: none;
	
}

::selection { background: #77e196; }
::-moz-selection { background: #77e196; }

hr { border: 0; border-bottom: 1px solid #eee; }

#existing_clips .clip img {
	display: inline;
	margin-right: 5px;
}

#video_options input[type="text"], textarea {
	font-size: 12px;
}

#custom_video_size input[type="text"] {
	width: 50px;
}