header, footer {
    padding:2rem 0;
}
body {
    overflow-x:hidden;
}
#main {
    border-radius: 0.4rem;
    margin-top:1rem;
    max-width: 95%;
}
#main.inline-preview {
    margin:0 auto;
    padding-top:1em;
    padding-bottom:1em;
    transition: opacity 0.5s ease-in-out;
}
#main.inline-preview:not(.loaded) {
    opacity: 0;
}
nav { 
    height:40px;
      font-weight:300;
}
nav a {    
    line-height: 25px;
    font-size: 14px;
    color:#999;
    padding: 0 10px; 
    vertical-align: middle;
}
nav a:hover, nav a:active, nav a:focus { 
    color:#fff; 
    text-decoration:none; 
}
a.close-inline-preview, a.close-preview {
    font-size: 20px;
    line-height: 20px;

}
nav + #main, nav + #fixed-header {
    margin-top: calc(40px + 1rem);
}
.bg-inverse {
    background-color: #000!important;
}
.mobile-toggle { display:inline-block; }
@media all and (max-width: 768px) {
  .mobile-toggle {
      display: none;
  }
}
#fixed-header {
    background-repeat:no-repeat;
    background-position: 0 0;
}
.container {
    transition: max-width 0.5s;
}

/* full-width elements */
header, footer {
    margin: 0 -15px;
    padding: 2rem 15px;
}
header {
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}
footer {
    border-bottom-left-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
}
.fixed-top {
    z-index:1000;
}
#submit-row { 
    padding:1rem 0; 
    z-index:1000;
}
/*
.inline-preview #submit-row,
.inline-preview #submit-button {
    display: none;
}
*/
form{
    margin:1rem 0;
    word-wrap: break-word;
}

.btn {
    transition:none;
    -webkit-transition:none;
    -o-transition:none;
    cursor:pointer;
}

.btn-primary.disabled, .btn-primary:disabled {
    background-color: #a5a5a5;
    border-color: #616161;
}

label.input {
    margin-bottom:0;
    display:block;
    padding: 5px 8px 7px 8px;
    border-radius:4px;
    cursor:pointer;
    text-indent: -25px;
    padding-left: 30px;
}

body.rtl label.input {
    padding-left:8px;
    padding-right:30px;
}

.mutually-exclusive-divider {
    border-top:1px dashed #BDBCBC;
    margin:0.5rem 0;
}
.drag-drop-wrapper .VideoThumbnail {
    max-width:250px;
}
label.input:hover {
    background:#EFEFEE;
}

label select, .LocationSelect span  {
    display:block;
}

.LocationSelect select {
    display: inline;
    width: auto;
}
.LocationSelect .geoloader {
    width:16px;
    height:16px;
    background:url(/ix/images/cdn-0/ajax-loader.gif);
    display:none;
}
.LocationSelect p.loading .geoloader {
    display:inline-block;
}


input[type="checkbox"] + .form-ui:before, input[type="checkbox"] + .form-ui:after {
    position:absolute;
    width: 18px;
    height: 18px;
    top:0;
    left:0;
    z-index: 0;
    background:#fff;
    display:inline-block;
    color:rgba(0,0,0,0);
    content:'\2713';
    border: 2px solid #5a5a5a;
    border-radius: 1px;
    transition: .2s;
    line-height: 100%;
    font-weight:bold;
    vertical-align: middle;
    text-indent: 0;
}
input[type="checkbox"] + .form-ui:after {
    display: inline-block;
    background: #0275D8;
    content: '\2713';
    border: 2px solid #5a5a5a;
    transition: .05s;
    line-height: 100%;
    font-weight: bold;
    vertical-align: top;
    transform:scale(0);
}

    input[type="checkbox"]:checked + .form-ui:after {
        transform:scale(1);
        border-color:#0275D8;
        color: #fff;
    }

input[type="checkbox"]:checked + .form-ui:before {
    background: rgba(0,0,0,0.1);
    pointer-events:none;
        opacity: 0;
    border:none;
    border-radius:50%;
    transform:scale(3);
    -moz-animation: ripple 1s none;
    -webkit-animation: ripple 1s none;
    animation: ripple 1s none;

}

@supports (-webkit-overflow-scrolling: touch) {
    /* CSS specific to iOS devices - this animation doesn't work on ios so disable it */
    input[type="checkbox"]:checked + .form-ui:before {
            display:none;
    }
}

input[type="radio"], input[type="checkbox"] {
    width:1px !important; /* still needs to be displayed so tab index works */
    height:1px !important;
    position:absolute;
    opacity:0;
}

.form-ui {
    display:inline-block;
    position:relative;
    width: 18px;
    height: 18px;
    vertical-align:text-top;
    margin-top:1px;
    
}

.radiobuttons .form-ui, .checkboxes .form-ui {
    margin-right:10px;
}

.radiobuttons-flow label.input, .checkboxes-flow label.input {
    display:inline-block;
}

/* for accessibility, show focus rectangle */
input[type="radio"]:focus + .form-ui, input[type="checkbox"]:focus + .form-ui  {
    outline: 2px dotted #5CB3FD;
    outline-offset:1px;
}


input[type="radio"] + .form-ui:before , input[type="radio"] + .form-ui:after{
    position:absolute;
    width: 18px;
    height: 18px;
    top:0;
    left:0;
    z-index: 0;
    display:inline-block;
    background:#fff;
    color:white;
    content:'';
    border-radius: 100%;
    transition: .2s;
    line-height: 100%;
    font-weight:bold;
    vertical-align: middle;
}
input[type="radio"] + .form-ui:after {
    background: rgba(0,0,0,0.1);
    pointer-events:none;
    top: 49%;
    left: 9px;
    width: 54px;
    height: 54px;
    opacity: 0;
    -moz-transform: translate(-50%, -50%) scale(0);
    -ms-transform: translate(-50%, -50%) scale(0);
    -webkit-transform: translate(-50%, -50%) scale(0);
    transform: translate(-50%, -50%) scale(0);
}

input[type="radio"] + .form-ui:before {
    border: 2px solid #5a5a5a;
}
input[type="radio"]:checked + .form-ui:before {
    box-shadow: inset 0 0 0 3px white;
    background: #0275d8;
    border-color:#0275D8;    
}




input[type="radio"]:checked + .form-ui:after {
  -moz-transform: translate(-50%, -50%) scale(1);
  -ms-transform: translate(-50%, -50%) scale(1);
  -webkit-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
  -moz-animation: ripple 1s none;
  -webkit-animation: ripple 1s none;
  animation: ripple 1s none;
}


.Copyright{
    margin-top:1rem;
    padding:1rem 0 2rem 0;
    text-align:center;
    opacity:0.75;
    font-size:80%;
}

.question {
    margin-bottom:3rem;
}

legend {
    display: none;
}

.question-label { 
    font-weight:bold;
    margin-bottom:1rem;
}

textarea {
    width:100%;
    max-width:100%;
}

.remainingCharacters {
    display:block;
}
/* images */
.flex-images {
    display:flex;
}
.image-wrap > div {
    text-align:center;
}
.image-wrap img {
    margin: 1rem 1rem 0 0;
}
.image-wrap .question-image-caption {
    display: block;
    text-align: center;
}

/* rank grid*/
ul.rank-grid {
    padding:0;
    margin:0;
    list-style-type:none;
    padding-bottom:22px;
}
ul.rank-grid li {
    display:block;
    background:#fff;
    width:100%;
    border:1px solid #D9D9D9;
    padding: 5px 8px 7px 8px;
    border-radius: 4px;
    margin-bottom:0.25rem;
    cursor:move;
}
ul.rank-grid li select {
    height:auto !important;
    padding:5px;
    margin:0 10px;
    display:inline !important;
    width:auto;
}
ul.rank-grid li:hover {
    background:#EFEFEE;
}
ul.rank-grid li.rank-grid-placeholder {
    border:1px solid #D9D9D9;
}
ul.rank-grid .ui-sortable-helper  {
    background:#EFEFEE;
}
.rank-grid-header {
    background: #EFEFEE;
    padding: 10px;
    margin-bottom: 4px;
    font-weight: bold;
}

li .handle:after {
    content: '\283F';
    display: inline-block;
    font-size: 150%;
    color: #999;
    vertical-align: middle;    
}
li .handle-top {
    display: block;
    height: 5px;
}
li .handle-top:before {
   content: '\283F';
    display: inline-block;
    transform: rotate(90deg) translateY(50%);
    font-size: 150%;
    color: #999;
    position: absolute;
    top: 0;
    left: 50%;
    line-height: 100%; 
}


/* drag-drop grid */
.drag-drop-grid {
     -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.drag-drop-grid .ui-draggable {
    cursor:move;
}
.drag-drop-wrapper.row .col-sm{
    margin-bottom:1rem;
}
ul.drag-drop-grid, ul.drop-dest {
    padding:0;
    margin:0;
    list-style-type:none;
}
ul.drop-dest {
    padding:2px;
    border-radius: 4px;
    transition: box-shadow ease-in 0.4s;
}
li.drag, ul.drop-dest > li {
    display:block;
    background:#fff;
    width:100%;
    border:1px solid #D9D9D9;
    padding: 10px 8px 12px 8px;
    border-radius: 4px;
    margin-bottom:0.25rem;
    cursor:move;
    margin-right:0.25rem;
}
li.drag {
    float: left;
    width: auto;
    line-height: 100%;
    display: flex;
}
li.drag:hover {
    background:#EFEFEE;
}
ul.drag-drop-grid li.grid-placeholder {
    border:1px solid #D9D9D9;
}
ul.drag-drop-grid .ui-sortable-helper  {
    background:#EFEFEE;
}
ul.drop-dest > li { 
    padding:0;
    cursor:auto;
}
li .drop-title {
    background:#EFEFEE;
    border-bottom:1px solid #D9D9D9;
    padding:4px 8px;
}
ul.drop-dest li .drop {
    min-height:3rem;
    padding:1rem;
}
ul.drop-dest.active > li  {
    box-shadow: 0 0 3px 2px rgba(51,122,183,0.95)
}
ul.drop-dest li {
    margin-bottom:0.5rem;
}
ul.drop-dest li:last-child {
    margin-bottom:0;
}
.drag-drop-grid table.drag-columns
{
    width:100%;
}
.drag-drop-grid table.drag-columns th {
    background: #5d5d67;
    color: #fff;
    padding: 10px;
    text-shadow: 1px 1px rgba(0,0,0,.5);
    border: 1px solid #ccc;
    text-align:center;
}
.drag-drop-grid .drag-rows {
    padding:0;
    margin:0;
    text-align:center;
}
.drag-drop-grid .tile.assigned {
    opacity: 0.0;
    /*transform: scale(.5);*/
    transform-origin: 0 0;
    z-index:10;
}
.drag-drop-grid .drag-columns td .tile   {
    top: 0!important;
    left: 0!important;
}
.drag-drop-grid .tile {
    list-style-type:none;
    align-items: center;
    border: 1px solid #ccc;
    box-shadow: 0 0 1px rgba(0,0,0,0.3);
    padding: 5px;
    text-align: center;
    display: inline-block;
    border-radius: 1px;
    margin: 0 10px 10px 0;
    vertical-align: middle;
    box-sizing: content-box;
    background: #fff;
    position:relative;   
}
table.drag-columns td {
    padding: 10px;
    vertical-align: top;
    text-align: left;
    background: #f2f2f2;
    border: 1px solid #ccc;
    box-sizing: content-box;
}
.drop > .drag {
    float: none;
    max-width: 100%;
}

.drag span.handle {
    padding-right: 5px;
}

/* grid */
table.grid {
    width:100%;
}
table.grid td, table.grid th {
    padding-left:0.5rem;
    padding-right:0.5rem;
}
table.grid th {
    text-align:center;
    vertical-align:bottom;
    font-weight:normal;
}

table.grid label.input {
    text-align:center;
}
table.grid > tbody > tr:nth-child(2n+1) > td {
    background:#f2f2f2;
}
table.grid.dynamic-rows tbody tr {
    display:none;
}
    table.grid .column-label {
        display:none
    }
table.grid td.grid-letter { 
    padding-right: 0; 
}
/* md grid */
table.md-grid table.grid {
    background:#fff;
    margin: 0.5em 0;
}
table.md-grid > thead> th {
    text-align:left;
    font-weight:bold;
}
table.md-grid > tbody > td:first-child {
    text-align:left;
    vertical-align:middle;
    font-weight:bold;
}
table.md-grid > tbody  > td {
    padding-top:1rem;
    padding-bottom:1rem;
}
table.md-grid > tbody > tr > td > label.input {
    text-align: left;
}
    /* tile grid */
    table.grid.tile-grid td {
        padding:0.5rem 0.5em;
    }
    table.grid .tile span {
        display: inline-block
    }
    .tile input:checked + span {
        background:#0275D8;
        color:#fff;
    }
    .tile input  {
        display:none;
    }
    table.grid label.tile {
        width:100%;
        margin:0;
    }
    table.grid .tile span {
        width:100%;
        text-align:center;
    }
    label.tile > span {
        border:1px solid #ccc;
        cursor:pointer;
        transition:background .2s;
        padding:2px 6px;
        border-radius:2px;
        background:#fff;
        margin:0;
        display:inline-block;
        vertical-align: middle;
        position:relative;
    }
    .checkboxes label.tile { cursor:pointer;}
    .response-header { font-weight:bold;}
    label.input + .response-header, .mutually-exclusive-divider + .response-header {
        margin-top:1em;
    }
    label.tile {
        margin-right:0.5em;
        margin-bottom:0.5em;
    }
    .tiles label.tile > span {
        padding:10px;
        pointer-events:none;
        cursor:pointer;
    }
    label.tile dfn {
        display: block;
        font-style: normal;
        height: 1em;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 100%;
        margin-top: 0.5em;
    }
    .tile.flying {
        box-shadow: 0px 0px 14px rgba(0,0,0,0.6);
        position: absolute;
        pointer-events:none;
    }
    .tile.flew span {
        color:#fff;
        background:#0275D8;
    }

    .drop-zone {
        margin:1em  0;
        border: 1px solid #ccc;
        border-radius: 1px;
        padding: 10px;
        box-shadow: 0 0 4px 2px rgba(2,117,216,.95);
    }

    /* scale */

    table.scale {
        width:100%;
        border-radius:2px;
        
    }
    table.scale td {
        
    }
    table.scale td:hover {
        background:#eee;
    }
    table.scale:not(.stars) td.ScalePoint label.Selected {
        background:#0275D8;
        color:#fff;
        outline: 1px solid #0275D8;
    }

    table.scale.stars label .star {
        display:none;
    }

    table.scale.stars label:not(.Selected) .when-not-selected {
        display:inline-block;
    }
    table.scale.stars label.Selected .when-selected {
        display:inline-block;
    }

        table.scale td.ScalePoint label {
            margin:0;
            width:100%;
            cursor:pointer;
            display:block;
            padding: 0.25rem 0;
            border:1px solid #ccc;
            text-align:center;
            transition: .2s ease-in;
        }
        table.scale.stars td.ScalePoint label {
            border:none;
        }
        table.scale.stars td:hover{
            background:none;
        }
    table.scale td.ScalePoint label input {
       display:none;
    }
    /* swipe-grid*/

    .swipe-grid {
        text-align:center;
    }
    .swipe-grid ul {
        padding:0;
        margin:0;
    }
    .swipe-grid li {
        display:inline-block;
        background:#fff;
        border:1px solid #D9D9D9;
        padding: 10px 8px 12px 8px;
        border-radius: 4px;
        cursor:move;
        
    }

    /* allocation slider grid */

.grid.allocation-sliders td {
    padding: 0.5rem 0;
    background:none;
}
.grid.allocation-sliders tbody tr td, .grid.allocation-sliders tbody tr:nth-child(2n+1) td {
    background:none;
}
.grid.allocation-sliders td:first-child {
    padding-left:1rem;
}
.grid.allocation-sliders td:nth-child(2) {
    width: 50%;
}
.grid.allocation-sliders input {
    max-width:6rem;
}

/* slider */
table.slider {
    width:100%;
}
table.slider td:first-child {   
}
table.slider td:last-child {
    width:70px;
    text-align:right;
}
table.slider .slider-row td:first-child {
    width:99%;
    padding:1rem 0;
}
table.slider input  { 
    width:100%;
}
table.slider input[type="number"]  { 
    width:5rem;
    text-align:center;
}
.radio-slider table {
    width:100%; 
    margin-bottom:1rem;
}
.radio-slider table td {
    text-align:center;
    vertical-align:bottom;
}
.ui-slider {
    height:0.5rem;
    background: #EFEFEE;
    border: 1px solid #D9D9D9;
    border-radius:3px;
    margin:0 1em;
    position:relative;
}
.ui-slider.ui-slider-horizontal .ui-slider-handle {
    width:2em;
    height:2em;
    top:0;
    line-height:2em;
    background:#fff;
    position:absolute;
    border:2px solid #5A5A5A;
    border-radius:100%;
    margin-top:-0.8em;
    margin-left:-1em;
    transition: background-color 0.2s;
    text-align:center;
    cursor:move;
    color:#fff;
    text-decoration:none;
    z-index: 2;
}
.ui-slider.ui-slider-horizontal .ui-slider-handle.ui-state-hover {
    background:#EFEFEE;
}
.slider-grid .ui-slider.ui-slider-horizontal .ui-slider-handle {
    border-radius:3px;
    color:#292b2c;
    text-decoration:none;
    border-width:1px;
}
.slider-grid .ui-slider.ui-slider-horizontal .ui-state-focus, .allocation-sliders .ui-slider.ui-slider-horizontal .ui-state-focus {
    background:#0275D8;
    color:#fff;
    border-color: #71beff;
}
.slider-grid th {
    padding-bottom:1rem;
}

.ui-slider-handle.ui-state-focus {
    border-color:#fff;
    color:#fff;
    background:#0275D8;
    outline:0;
}

  table.open-end-grid tr:nth-child(2n+1) td {
    background:#f2f2f2;
}
table.open-end-grid td {
    padding: 5px 8px 7px 8px;
}
table.open-end-grid .open-end-grid-label {
    font-weight:bold;
    padding-left:5px;
}


nav button {
    position:relative;
    margin:0 5px;
    font-size:0.875rem;
	display:inline-block;
	background-color: #E6E6E6;
	border-radius: 0.2rem;
    border:none;
    padding:3px 10px;
    color:#333;
	cursor:pointer;
    vertical-align:bottom;	
}
.navbar {
    padding: .25rem 1rem;
}
nav .navbar-brand, nav .p-2 { 
    padding-top:0 !important;
    padding-bottom:0 !important;
}
.navbar-brand {
    font-size: 14px;
    line-height: 32px;
}
/* switch checkboxes*/
    .navbar label.switch { 
        vertical-align: middle;
    }
	label.switch { 
		position:relative;
		width:200px;
        margin:0;
        font-size:0.875rem;
		display:inline-block;
		background-color: #E6E6E6;
		border-radius: 0.2rem;
		box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
		cursor:pointer;	
	}
	label.switch input + a {
		border-radius: 0.2rem;
		border:1px solid #eee;
		left:0%;
	}
	label.switch input:checked + a {
		left:50%;
	}

	label.switch input { 
		display:none;
	}
	label.switch span {
		box-sizing:border-box;
		color:#333;
		display:inline-block;
		width:50%;
		padding:3px 0;
		text-align:center;
		float:left;
		z-index:2;
		transition: color ease .3s;
		position:relative;
	}
	label.switch a {
		position:absolute;
		background:#0275D8;
		background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0));
		width:50%;
		height:100%;
		z-index:1;
		transition: left ease .3s;
	}
	
	label.switch input:not(:checked) ~ span:first-of-type {
		color:#fff;
	}
	label.switch input:checked ~ span:last-child {
		color:#fff;
	}

    /* date picker */
    .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight{
        background:#0275D8 !important;
        border-color:#0275D8 !important;
        color:#fff !important;
    }

/* iframe test */
.iframe-test .iframe-header{
    height:3rem;
    line-height:3rem;
    width:100%;
    left:0;
    top:0;
    position:fixed;
    margin:0;
    padding:0 2rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 2;
}
.iframe-test .close-link:after{
    content:"✖";
    float:right;
    color:#D9534F;
    cursor:pointer;
    font-size:2rem;
}
.iframe-test iframe {
    border:0;
    width:100%;
    left:0%;
    top:3rem;
    position:fixed;
    height: calc(100% - 3rem);
}


/* card grid */
div.card-grid {
    position:relative;
    perspective: 1000px;
}
.card-grid.multiselect .tile span {
    padding: 0.5em 1em;
}
.card-grid.multiselect .card-stack {
    margin-bottom:1rem;
}
    .card-grid.multiselect .card-stack li{
        opacity:0;
        transition: opacity 0.5s ease-in;
        padding:1em;
        border:1px solid #ccc;
        box-shadow:0px 0px 4px rgba(0,0, 0,0.5);
    }

    .card-grid.multiselect .card-stack li:first-child {
        opacity:1;
    }


ul.card-choices  {
    list-style-type:none;
    padding:0;
    margin:0;   
}
ul.card-stack {
    padding:0;
    margin:0;
    margin-bottom:2rem;
}
ul.card-stack li {
    text-align:center;
        padding:0.5rem;
        display:inline-block;
        border: 1px solid #D9D9D9;
        background:#fff;
        color: #292b2c;
        text-decoration:none;
        position:absolute;
        transition: all .5s ;
        transform-style: preserve-3d;
        transform-origin:left center;
    }

ul.card-stack li.last-card {
    position:relative;
    visibility:hidden;
}

ul.card-choices li {
    float:left;
    margin-right:1rem;
    margin-bottom:1rem;
}
   
/* help icon */   
div.popup-help {
    color: #fff;
    background-color: #0275D8;
    display: inline-block;
    border-radius: 100%;
    text-align: center;
    text-decoration: none;
    width: 1em;
    line-height: 1em;
    margin: 0 0.5em;
    font-weight: bold;
    cursor:pointer;
    position:relative;
}
div.popup-help .content {
    position: absolute;
    display: block;
    top: 1.1em;
    border: 1px solid #ccc;
    padding: 0.5rem;
    background: #fff;
    color: #333;
    font-weight: normal;
    text-align: left;
    min-width: 200px;
    box-shadow: 1px 1px 10px rgba(0,0,0,0.2);
    border-radius: 3px;
    transform: translate(-50%, 0);
    left: 50%;
    pointer-events:none;
    opacity:0;
    transition: opacity 0.15s ease-in-out;
}
div.popup-help .content.visible {
    opacity:1;
    pointer-events:all;
}

/** Video embeds **/
.videoEmbeds {
  width: 1100px;
  max-width: 100%;
  overflow: hidden;
}
.videoEmbeds:after {
  content: '';
  clear: both;
  display: block;
}
.videoEmbeds .videoBlock {
  width: 50%;
  float: left;
  padding: 10px;
  box-sizing: border-box;
  position: relative;
}
.videoEmbeds .videoBlock:before, .videoEmbeds .videoBlock:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: transparent;
  width: 100%;
  height: 90px;
  z-index: 1;
}
.videoEmbeds .videoBlock:after {
  top: 0;
  left: auto;
  right: 0;
  width: 25%;
  height: 50%;
  background: transparent;
}
.videoEmbeds .videoBlock:nth-child(2n+1){
    clear:left;
}
.videoEmbeds .videoBlock .plyr__video-embed, .videoEmbeds .videoBlock .plyr__video-wrapper--fixed-ratio {
  position: relative;
}
.videoEmbeds iframe {
  background: #000;
  width: 100%;
  height: 300px;
}
@media (max-width: 1200px) {
  .videoEmbeds iframe {
    height: 250px;
  }
}
@media (max-width: 991px) {
  .videoEmbeds {
    width: 100vw;
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
  }
  .videoEmbeds .videoBlock {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 991px) and (min-width: 769px) {
  .videoEmbeds iframe {
    max-width: 100%;
    width: 445px;
  }
}
@media (max-width: 480px) {
  .videoEmbeds iframe {
    height: 220px;
  }
}
@media (max-width: 400px) {
  .videoEmbeds iframe {
    height: 175px;
  }
}

/* progress bar */
.progress {
    margin: 1rem 0;
}
.progress-bar {
    height: 1.5rem;
    line-height: 1.5rem;
}

@media (max-width:480px)
{
    /* mobile collapse grids */
    table.grid tbody tr td {
        background:#EFEFEE;
    }
        table.grid tbody tr td:first-child, table.grid tbody tr td.bipolar-label, table.grid.tile-grid tbody tr td {
            background:#fff;
        }
    
        
    table.grid td.grid-letter, table.grid th {
        display:none;
    }
    table.grid .column-label br {
        display:none;
    }
    table.grid td {
        display:block;
        width:100% !important;
        margin-bottom:4px;
        border-radius:2px;
    }
        table.grid td:last-child {
            margin-bottom:1em;
        }
    table.grid label.input {
        text-align:left;
    }
    body.rtl label.input {
        text-align:inherit;
        text-indent:0;
        padding-right:8px;
    }
    table.grid .column-label {
        display: inline-block;
        margin-left: 1.7rem;
    }
    table.md-grid .column-label {
        display:block;
        font-weight:bold;
        margin-bottom: 1rem;
    }
    table.grid .tile .column-label {
        margin:0;
    }
    .grid.allocation-sliders tbody tr td:first-child {
        padding-left:0;   
    }
    .grid.allocation-sliders tbody input {
        float: right;
        margin-top: -0.5rem;
    }
    table.open-end-grid {
        width:100%;
    }
     table.open-end-grid tbody tr td {
        display:block;
        background:none !important;
    }
        table.open-end-grid tbody tr td:first-child {
            padding-bottom:0;
        }

    input#SurveySubmitButton {
        width: 100%;
    }
    .slider-row td {
        display:block;
    }
    .slider-row input[type="number"] {
        margin:1em 0;
    }
}

/* animations */
.vanishOut {
     animation-duration: 2s;
    animation-fill-mode: both;
  animation-name: vanishOut;
}
@keyframes vanishOut {
  0% {
    opacity: 1;
    transform-origin: 100% 200%;
    transform: scale(1, 1) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform-origin: 200% 500%;
    transform: scale(0, 0) rotate(270deg);
  }
}


@-moz-keyframes ripple {
  5%, 100% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
}
@-webkit-keyframes ripple {
  5%, 100% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
}
@keyframes ripple {
  5%, 100% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
}

/* hide video download button */
video {
    max-width:100%;
}
video::-internal-media-controls-download-button {
    display:none;
}

video::-webkit-media-controls-enclosure {
    overflow:hidden;
}

video::-webkit-media-controls-panel {
    width: calc(100% + 30px); /* Adjust as needed */
}


.tile span.flex-center {
    align-items: center;
    line-height: normal !important;
    display:table;

}
    .tile span.flex-center span {
        display: table-cell;
        vertical-align: middle;
    }

     
.neurolink-label {
    color:#00F;
    font-size:200%;
}
.neuro-cards {
    text-align:center;
    padding:5rem 0;
}
.neuro-cards h1 {
    font-size: 4rem;
    text-align: center;
    font-weight:bold;
    margin: 0;
}


@media all and (max-width: 768px) {
    .neuro-cards h1 {
        font-size: 2rem;
    }
}