/* v.03 ms common content elements - 25.06.17 */


              /* filelist */
                            
.ms_filelist ul, .ms_filelist ul ul  {
    list-style-image: none;
    margin-top:5px;
    margin-bottom:1em;
    padding-left:0;
}

.ms_filelist ul li, .ms_filelist .download {
	padding-left:30px;
	margin-bottom:10px;
	min-height:20px;
	min-height:35px;
	padding-top:2px;
}

.ms_filelist.inline .download {
	display:inline-block;
	margin:0 2em 0 0;
}

.ms_filelist a.download {border:none;}

.ms_filelist .download span {display:block; font-size:12px; color:#888;}

.ms_filelist li .info {
	font-size:0.9rem;
	line-height:1.5;
	color:#888;
	margin-top:0.5em;
	background:none;
}

.ms_filelist .download {background: url(../ico-filelist/default.png) 0 7px no-repeat;}

.ms_filelist .pdf {background-image: url(../ico-filelist/pdf.png);}

.ms_filelist .bmp, .ms_filelist .gif, .ms_filelist .jpg, .ms_filelist .png
{background-image: url(../ico-filelist/image.png);}

.ms_filelist .csv, .ms_filelist .xls, .ms_filelist .xlsx
{background-image: url(../ico-filelist/excel.png);}

.ms_filelist .doc, .ms_filelist .docx
{background-image: url(../ico-filelist/doc.png);}


.ms_filelist .ppt, .ms_filelist .pptx
{background-image: url(../ico-filelist/ppt.png);}


.ms_filelist .tif, .ms_filelist .tiff, .ms_filelist .ai, .ms_filelist .eps
{background-image: url(../ico-filelist/ai.png);}


.ms_filelist .zip, .ms_filelist .rar
{background-image: url(../ico-filelist/archive.png);}



/* todo */
     
    /* colorbox */

#cboxTitle a
{
  color: #999;
  border-bottom: solid 1px #cecece;
}

#cboxTitle a:hover
{
  color: #ccc;
  border-bottom: solid 1px #ccc;
}

/*
#cboxContent {
  padding-left: 290px;
}

#cboxTitle {
  position: absolute;
  left:0;
  bottom:0;
  top: auto;
  width: 250px;
  padding: 20px;
  
  top:0;
}
#cboxTitle .img-caption {
  color: #fff;
  font-size: 13px;
  position: absolute;
  overflow-y:auto;
  top: 20px;
  left:20px;
  right:20px;
  bottom: 50px;
}

#cboxTitle .img-caption::-webkit-scrollbar {
  width: 6px;
}

#cboxTitle .img-caption::-webkit-scrollbar-track {background:#000;}
#cboxTitle .img-caption::-webkit-scrollbar-thumb {background:#333; border-radius: 2px;}
*/

#cboxTitle a {
  font-size: 11px;
  border-bottom-color: #333;
  color: #666;
  
  display: inline-block;
  position: absolute;
  bottom:20px;
  left:20px;
  border:0;
}

#cboxCurrent {font-size: 11px; color: #666;}

#cboxPrevious:focus, #cboxNext:focus, #cboxSlideshow:focus, #cboxClose:focus {
	outline:none;
}

#cboxLoadedContent {border:none;}

    /* end: colorbox */


  /* fluid columns = fluid width */
.col img, .fluid img  {
  max-width:100% !important;
  width:auto \9 !important;
  height:auto !important;
}

.col {
  display: inline-block;
  vertical-align: top;
  overflow:hidden;
  height:auto;
  *display:inline;
  position: relative;

  box-sizing: border-box;

  padding-right:50px;  
  *width: 30.5%;
  *padding: 0 2% 0 0;

  margin-bottom:1em;
}


.col.third {
  width:33%;
  *width: 30.5%;
  *padding: 0 2% 0 0;
}

.col.twothird {
  width:66.6%;
  *width: 63.5%;
  *0 2% 0 0;
}

.col.half {
  width:50%;
  *width: 47.5%;
  *0 2% 0 0;
}

.col.fourth {
  width:24%;
  *width: 22%;
}

.col.last {padding-right:0 !important;}


    /* DEFAULT typo3 elements */
/* ce-header */  
.ce-header.hasSubheader h2, .ce-header.hasSubheader h3, .ce-header.hasSubheader h1 {
  margin-bottom:5px;
}

.ce-header div.categories {margin:30px 0 5px;}
.ce-header div.categories + h2 {margin-top:5px;}

.ce-header.layout-3 div.categories {margin:0px 0 5px;}
.ce-header.layout-4 div.categories {margin:0px 0 5px;}


/* ce-textpic */
.ce-textpic, .ce-textpic .imageswrap {
  position: relative;
  overflow: hidden;
}

.ce-textpic .imageswrap {
}

.imageswrap > .image a {border:none;} 

.ce-textpic .caption {font-size: 13px; color:#888; text-align:left;} 
.ce-textpic .nocaption .caption {display:none;} 

  /* orientation */
.ce-textpic.ce-center .imageswrap {text-align:center;}
.ce-textpic.ce-right .imageswrap {text-align:right;}

.ce-textpic.ce-left.ce-intext .imageswrap {padding-right:20px; float:left;}
.ce-textpic.ce-right.ce-intext .imageswrap {padding-left:20px; float:right;}


  /* cols */
.imageswrap[class*='cols-'] > .image {
  display:inline-block;
  vertical-align: top;
  height: auto;
  position:relative;
  overflow:hidden;
  box-sizing:border-box;
  margin:0;
  margin-bottom: 20px;
}

.imageswrap[class*='cols-'] > .image img {
  max-width: 100%;
  height: auto;
}


.imageswrap.cols-1 > .image {width:auto; display:block;}
.ce-textpic.ce-right .imageswrap.cols-1 > .image {float:right;clear:right;}
.ce-textpic.ce-center .imageswrap.cols-1 > .image {margin:0 auto;}

.imageswrap.cols-0 > .image {
	width:auto;
	margin:0 10px 10px 0;
}

.imageswrap.cols-2 > .image {width:49.99%;}
.imageswrap.cols-3 > .image {width:33.33%;}
.imageswrap.cols-4 > .image {width:24.999%;}
.imageswrap.cols-5 > .image {width:19.999%;}
.imageswrap.cols-6 > .image {width:16.5%;}

/* special layout override */
  /* layout-1 = covers | below = used as background */
.ce-textpic.layout-1.ce-below {
  overflow: hidden;
  position: relative;
  margin: 35px 0;
  background: #000;
}

.ce-textpic.layout-1.ce-below .imageswrap[class*='cols-'] {
  position: absolute;
  z-index: 1;
  left:0;
  right:0;
  top:0;
  bottom:0;
  margin:0 !important;
  padding:0 !important;
}

.ce-textpic.layout-1.ce-below .imageswrap[class*='cols-'] .image {
  max-width: none !important;
  padding:0;
  margin:0;
}

.ce-textpic.layout-1.ce-below .imageswrap[class*='cols-'] .image img {
  opacity: 0.5;
  max-width: 100%;
}


.ce-textpic.layout-1.ce-below .ce-bodytext {
  position: relative;
  z-index: 2;
  padding: 50px;
}

.ce-textpic.layout-1.ce-below .ce-bodytext p:last-child {margin-bottom:0;  }

.ce-textpic.layout-1.ce-below .ce-bodytext * {
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.ce-textpic.layout-1.ce-below.ce-center .ce-bodytext {text-align:center;}
.ce-textpic.layout-1.ce-below.ce-right .ce-bodytext {text-align:right;}

  /* layout-1 | beside = left or right */
.ce-textpic.layout-1.ce-nowrap {
  position: relative;
  overflow: hidden;
  background:#fff;
  padding:0;
  margin:35px 0;
}

.ce-textpic.layout-1.ce-nowrap > div {float:left;}

.ce-textpic.layout-1.ce-nowrap .imageswrap {
  width:50% !important;
  padding:0;
  margin:0;
}

.ce-textpic.layout-1.ce-nowrap .imageswrap.cols-1 > .image {
  float:none;
  clear:none;
  max-width:none;
  margin:0;
  padding:0;
}


.ce-textpic.layout-1.ce-nowrap .ce-bodytext {
  box-sizing:border-box;
  width:50%;
  padding:20px !important;
}

/* end > textpic and pics */

          /* page browser  */
div.page-navigation, div.tx-indexedsearch-browsebox {
  font-size: 14px;
  color:#888;
  margin:35px 0;
}
          
ul.f3-widget-paginator, ul.tx-indexedsearch-browsebox {
  padding:0;
  list-style:none;
  margin:0;
  color:#000;
}

ul.f3-widget-paginator li, ul.tx-indexedsearch-browsebox li {
  display:inline-block;
  padding:0.3em 0.5em;
  line-height:1;
  margin:0 0 0.5em;
  background:none;
}

ul.f3-widget-paginator li.current, ul.tx-indexedsearch-browsebox li.tx-indexedsearch-browselist-currentPage {
  background: #e9f2f8;
}

        /* indexed search */
.tx-indexedsearch-searchbox legend {display:none;}

.tx-indexedsearch-form {
	float:left;
	margin-right:5px;
}

.tx-indexedsearch-form input.tx-indexedsearch-searchbox-sword {
	line-height: 1.5;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;	
    width: 500px;
    max-width: none;
}

.tx-indexedsearch-result.item {
  margin:0 0 35px;
}

.tx-indexedsearch-result.item p.tx-indexedsearch-description {margin-bottom:0.3em;}
.tx-indexedsearch-result.item > .header, .tx-indexedsearch-result.item > .footer {
  font-size: 13px;
  color:#888;
  line-height:1.3;
}
.tx-indexedsearch-result.item dl.info {display:none;}
.tx-indexedsearch-result.item .title .rating {
  display:inline-block;
  font-size: 11px;
  color:#888;
  background:#f2f3f4;
  padding:0.2em 0.5em;
  margin-left:0.5em;
  vertical-align:middle;
  border-radius:4px;
}


            /*  FORMS */
form {margin:0 0 1em}
fieldset {border:none;margin-bottom:1em;}
legend {color:#888;font-size:1.25em;margin:0;padding:0}
label {display:block}

input, select, textarea {
  margin:.25em 0 .75em;
  vertical-align:top; 
  box-sizing: border-box;
  padding:0.5em 1em;
}

textarea {resize:vertical}

input[type=text] {
    background:#F8F8F8;
    border:1px solid rgba(0,0,0,.15);
    border-left-color:rgba(0,0,0,.3);
    border-top-color:rgba(0,0,0,.3);
    box-shadow:inset 1px 1px 5px rgba(0,0,0,.1);
    -webkit-box-shadow:inset 1px 1px 5px rgba(0,0,0,.1);
    border-color:#cecece\9;
    color:#000;
    line-height:21px;
	width:100%;
	max-width:300px;
}

input[type=radio] {
  width: 20px;
  float: left;
  display: block;
  padding:0;
}


form .item.radio {
  overflow: hidden;
  position: relative;
  padding-left: 25px;
  min-height: 1.5em;
  margin:0 0 0.5em;
}

form .item.radio > input[type=radio] {
  position: absolute;
  left:0;
  top: 0px;
}

textarea {
    background:#F8F8F8;
    border:1px solid rgba(0,0,0,.15);
    border-left-color:rgba(0,0,0,.3);
    border-top-color:rgba(0,0,0,.3);
    box-shadow:inset 1px 1px 5px rgba(0,0,0,.1);
    -webkit-box-shadow:inset 1px 1px 5px rgba(0,0,0,.1);
    border-color:#cecece\9;
    
    /*height:2em;*/
    line-height:1.4;
    padding:.25em .35em;
    box-sizing: border-box;
    width:100%;
	max-width:650px;
	min-height:100px;
}



input[type=submit] {
    cursor:pointer;
    font-weight:normal;
    line-height:21px;
    border:none;
    
    border:solid 1px #efefef;
    border-color:rgba(0,0,0,.2);
    border-color:#efefef\9;
    
    background:#f3f4f5;

  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

input[type=submit]:hover {
  background-color:#c00 !important;
  color:#fff !important;
  border-color:#c00 !important;
}


input[type=file] {
  font-size:13px;
  line-height:1;
  color:#888;
}

form div.checkbox {
  overflow:hidden;
  position: relative;
  min-height: 20px;
}

form div.checkbox input[type=checkbox] {
  position: absolute;
  left:0;
  top:0;
}

form div.checkbox label {
  padding-left: 20px;
}


form div.field {
  position: relative;overflow:hidden;
  margin:0 0 1em;
}

form div.field > label {font-weight: bold;}

form .required > label:after {color:#D00;content:" *"}

form .field-note, form .note {
  color:#888;
  font-size:13px;
}


div.form-message {padding:20px; background:#f2f3f4; margin:0 0 1em;}
div.form-message > .head {font-size: 22px; font-weight: bold;}

form .field.inline {
	position:relative;
	overflow:hidden;
	display:inline-block;
	vertical-align:top;
	width:auto;
	padding-right:1em;
}

form .input-clear {
    color: #fff;
    margin-right: 0.5em;
    vertical-align: middle;
    line-height: 1em;
    display: inline-block;
    background: #c00;
    width: 1em;
    height: 1em;
    border-radius: 0.5em;
    text-align: center;
    font-weight: normal;
    font-size: 0.8em;	
}

		/* ms-youtube */
.ms-youtube > div {
	position:relative;
	overflow:hidden;
	margin:0 0 35px;	
}


.ms-youtube .show-cont .player {
	float: left;
	padding-right: 20px;
}

.ms-youtube .show-cont > .info .title {
	margin:0 0 0.5em;
}

.ms-youtube .list-cont {
    margin-left: -17.5px;
    margin-right: -17.5px;	
}

.ms-youtube .list-cont > .item {
	position: relative;
    display: inline-block;
    box-sizing: border-box;
    vertical-align: top;
    height: auto;
    width: 33%;
    padding: 0 17.5px;
    margin: 0 0 35px;
    text-align: left;	
    cursor: pointer;
}

.ms-youtube .list-cont > .item > .wrap {
	padding: 10px;
	background:#fff;
}
.ms-youtube .list-cont > .item:hover > .wrap, .ms-youtube .list-cont > .item.act > .wrap {
	background:#e9f2f8
}

.ms-youtube .list-cont > .item .thumb img {
    width: 100%;
    margin:0 0 10px;
}

.ms-youtube .date {
    color: #018AA6;
    font-size: 14px;
}

/*! nouislider - 11.1.0 - 2018-04-02 11:18:13 */
/* Functional styling;
 * These styles are required for noUiSlider to function.
 * You don't need to change these rules to apply your design.
 * UPDATED @alex
 */
.noUi-target,
.noUi-target * {
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-user-select: none;
  -ms-touch-action: none;
  touch-action: none;
  -ms-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.noUi-target {
  position: relative;
  direction: ltr;
}
.noUi-base,
.noUi-connects {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}
/* Wrapper for all connect elements.
 */
.noUi-connects {
  overflow: hidden;
  z-index: 0;
}
.noUi-connect,
.noUi-origin {
  will-change: transform;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  -ms-transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}
/* Offset direction
 */
html:not([dir="rtl"]) .noUi-horizontal .noUi-origin {
  left: auto;
  right: 0;
}
/* Give origins 0 height/width so they don't interfere with clicking the
 * connect elements.
 */
.noUi-vertical .noUi-origin {
  width: 0;
}
.noUi-horizontal .noUi-origin {
  height: 0;
}
.noUi-handle {
  position: absolute;
}
.noUi-state-tap .noUi-connect,
.noUi-state-tap .noUi-origin {
  -webkit-transition: transform 0.3s;
  transition: transform 0.3s;
}
.noUi-state-drag * {
  cursor: inherit !important;
}
/* Slider size and handle placement;
 */
.noUi-horizontal {
  height: 18px;
  height: 10px;
}
.noUi-horizontal .noUi-handle {
  width: 34px;
  height: 28px;
  left: -17px;
  top: -6px;
  top: -12px;
}
.noUi-vertical {
  width: 18px;
}
.noUi-vertical .noUi-handle {
  width: 28px;
  height: 34px;
  left: -6px;
  top: -17px;
}
html:not([dir="rtl"]) .noUi-horizontal .noUi-handle {
  right: -17px;
  left: auto;
}
/* Styling;
 * Giving the connect element a border radius causes issues with using transform: scale
 */
.noUi-target {
  background: #FAFAFA;
  border-radius: 4px;
  border: 1px solid #D3D3D3;
  box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB;
}
.noUi-connects {
  border-radius: 3px;
}
.noUi-connect {
  background: #3FB8AF;
}
/* Handles and cursors;
 */
.noUi-draggable {
  cursor: ew-resize;
}
.noUi-vertical .noUi-draggable {
  cursor: ns-resize;
}
.noUi-handle {
  border: 1px solid #D9D9D9;
  border-radius: 3px;
  background: #FFF;
  cursor: default;
  box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB;
}
.noUi-active {
  box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB;
}
/* Handle stripes;
 */
.noUi-handle:before,
.noUi-handle:after {
  content: "";
  display: block;
  position: absolute;
  height: 14px;
  width: 1px;
  background: #E8E7E6;
  left: 14px;
  top: 6px;
}
.noUi-handle:after {
  left: 17px;
}
.noUi-vertical .noUi-handle:before,
.noUi-vertical .noUi-handle:after {
  width: 14px;
  height: 1px;
  left: 6px;
  top: 14px;
}
.noUi-vertical .noUi-handle:after {
  top: 17px;
}
/* Disabled state;
 */
[disabled] .noUi-connect {
  background: #B8B8B8;
}
[disabled].noUi-target,
[disabled].noUi-handle,
[disabled] .noUi-handle {
  cursor: not-allowed;
}
/* Base;
 *
 */
.noUi-pips,
.noUi-pips * {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.noUi-pips {
  position: absolute;
  color: #999;
}
/* Values;
 *
 */
.noUi-value {
  position: absolute;
  white-space: nowrap;
  text-align: center;
}
.noUi-value-sub {
  color: #ccc;
  font-size: 10px;
}
/* Markings;
 *
 */
.noUi-marker {
  position: absolute;
  background: #CCC;
}
.noUi-marker-sub {
  background: #AAA;
}
.noUi-marker-large {
  background: #AAA;
}
/* Horizontal layout;
 *
 */
.noUi-pips-horizontal {
  padding: 10px 0;
  height: 80px;
  top: 100%;
  left: 0;
  width: 100%;
}
.noUi-value-horizontal {
  -webkit-transform: translate(-50%, 50%);
  transform: translate(-50%, 50%);
}
.noUi-rtl .noUi-value-horizontal {
  -webkit-transform: translate(50%, 50%);
  transform: translate(50%, 50%);
}
.noUi-marker-horizontal.noUi-marker {
  margin-left: -1px;
  width: 2px;
  height: 5px;
}
.noUi-marker-horizontal.noUi-marker-sub {
  height: 10px;
}
.noUi-marker-horizontal.noUi-marker-large {
  height: 15px;
}
/* Vertical layout;
 *
 */
.noUi-pips-vertical {
  padding: 0 10px;
  height: 100%;
  top: 0;
  left: 100%;
}
.noUi-value-vertical {
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%, 0);
  padding-left: 25px;
}
.noUi-rtl .noUi-value-vertical {
  -webkit-transform: translate(0, 50%);
  transform: translate(0, 50%);
}
.noUi-marker-vertical.noUi-marker {
  width: 5px;
  height: 2px;
  margin-top: -1px;
}
.noUi-marker-vertical.noUi-marker-sub {
  width: 10px;
}
.noUi-marker-vertical.noUi-marker-large {
  width: 15px;
}
.noUi-tooltip {
  display: block;
  position: absolute;
  border: 1px solid #D9D9D9;
  border-radius: 3px;
  background: #fff;
  color: #000;
  padding: 5px;
  text-align: center;
  white-space: nowrap;
}
.noUi-horizontal .noUi-tooltip {
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  left: 50%;
  bottom: 120%;
}
.noUi-vertical .noUi-tooltip {
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  top: 50%;
  right: 120%;
}



		/* css loader / spinner */
/*https://loading.io/spinner/flickr/-orbit-balls-loading-gif*/
@keyframes cssloader-opacity {
  0% {
    -webkit-transform: translate(0 0);
    transform: translate(0 0);
    opacity: 1;
  }
  49.99% {
    opacity: 1;
    -webkit-transform: translate(80px, 0);
    transform: translate(80px, 0);
  }
  50% {
    opacity: 0;
    -webkit-transform: translate(80px, 0);
    transform: translate(80px, 0);
  }
  100% {
    opacity: 0;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}
@-webkit-keyframes cssloader-opacity {
  0% {
    -webkit-transform: translate(0 0);
    transform: translate(0 0);
    opacity: 1;
  }
  49.99% {
    opacity: 1;
    -webkit-transform: translate(80px, 0);
    transform: translate(80px, 0);
  }
  50% {
    opacity: 0;
    -webkit-transform: translate(80px, 0);
    transform: translate(80px, 0);
  }
  100% {
    opacity: 0;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}
@keyframes cssloader {
  0% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  50% {
    -webkit-transform: translate(80px, 0);
    transform: translate(80px, 0);
  }
  100% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}
@-webkit-keyframes cssloader {
  0% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  50% {
    -webkit-transform: translate(80px, 0);
    transform: translate(80px, 0);
  }
  100% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}
.cssloader {
  position: relative;
}
.cssloader div {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  top: 60px;
  left: 20px;
}
.cssloader div:nth-child(1) {
  background: #0089d0;
  -webkit-animation: cssloader 1s linear infinite;
  animation: cssloader 1s linear infinite;
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}
.cssloader div:nth-child(2) {
  background: #e30a0a;
  -webkit-animation: cssloader 1s linear infinite;
  animation: cssloader 1s linear infinite;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
.cssloader div:nth-child(3) {
  background: #0089d0;
  -webkit-animation: cssloader-opacity 1s linear infinite;
  animation: cssloader-opacity 1s linear infinite;
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}
.cssloader {
  width: 40px !important;
  height: 40px !important;
  -webkit-transform: translate(-20px, -20px) scale(0.2) translate(20px, 20px);
  transform: translate(-20px, -20px) scale(0.2) translate(20px, 20px);
}

        /* misc interface */
/* buttons */        
.button {
  display:inline-block;
  margin:0;
  padding:0.3em 0.5em;
  border: 1px solid #000;
  background:transparent;
  color: #000;
  border-radius:5px;
  line-height:1;
}

.button.small {font-size: 14px;}

.button.solid {
  background:#037ac1;
  border-color:#666;
  border-color:transparent !important;
  color: #fff !important;  
}

.button.red {border-color:#da251c; color:#da251c;}
.button.solid.red {background:#da251c;color:#fff;}

.button.gray {border-color:#888; color:#888;}
.button.solid.gray {background:#888;color:#fff;}

.button.solid:hover {
  filter: brightness(1.4);
  color: #fff !important;
}


/* ms-popup */
#ms-popup {
	position:fixed;
	-webkit-overflow-scrolling: touch;
	top:0;
	left:0;
	z-index:9999;

	right:0;
	bottom:0;
	background: rgba(136,136,136,0.95);
	background:#888 \9;
	padding:50px;
}

#ms-popup > .head {}
#ms-popup > .body {
	/*margin:0 auto;
	margin:3em;
	background:#fff;
	z-index:99999;
	*/
	padding: 25px;
	margin:0;
	background:#fff;
	
	max-width: 1000px;
	margin:0 auto;
	overflow-y: auto;	
}

#ms-popup > .controls {
	max-width: 1050px;
	margin:0 auto 0px;
	position: relative;
	text-align:center;
}

#ms-popup > .controls > .button.close {
	background-color:#c00;
	border-bottom-left-radius:0;
	border-bottom-right-radius:0;
}

.ms-popup-content {display:none !important;}
#ms-popup .ms-popup-content {display:block !important;}
