/*HELPERS*/
/*1 Position, Size, Margins and Padding*/

.clear{
  clear: both;
}
.left{
  float: left;
}

.right{
  float: right;
}

.absolute{
  position: absolute;
}
.fixed{
  position: fixed;
}
.relative{
  position: relative;
}
.underline{
  text-decoration: underline ;
}
.hover-underline:hover{
  text-decoration: underline ;
}
.to-left{
  left: 0;
}

.to-right{
  right: 0;
}

.to-top{
  top: 0;
}
.to-bottom{
  bottom: 0;
}
.no-margin{
  margin: 0;
}

.no-padding{
  padding: 0;
}

.inline-block{
  display: inline-block;
}

.inline{
    display: inline;
}

.block{
    display: block;
}

.full-height{
  height: 100%;
}

.full-width{
  width: 100%;
}

.fit{
    max-width: 100%
}

.full-size{
  height: 100%;
  width: 100%;
}
.hidden{
  display: none !important;
}

/*2 Styles*/

.alpha-1{
  opacity: 0.7;
}
.alpha-2{
  opacity: 0.5;
}
.alpha-3{
  opacity: 0.3;
}

.alpha-4{
  opacity: 0.1;
}
.text-xl{
    font-size: 2.5em;
}
.text-lg{
  font-size: 1.5em !important;
}
.text-md{
    font-size: 1em;
}
.text-sm{
  font-size: 0.5em;
}
.text-italic{
  font-style: italic;
}
.text-bold{
  font-weight: 900;
}

.text-center{
  text-align: center;
}
.text-right{
  text-align: right;
}
.text-left{
  text-align: left;
}
.text-middle{
  vertical-align: middle;
}
.text-white{
  color: white !important;
}
.capitalize{
  text-transform: capitalize;
}
.text-gray{
    color: #848c98;
}
.uppercase{
  text-transform: uppercase;
}
.lowercase{
  text-transform: lowercase;
}

.titlecase:first-letter{
  text-transform: uppercase;
}

.hover-underline:hover{
  text-decoration: underline;
}

.pointer{
  cursor: pointer;
}

/*Hacks*/
.wrapt{
    display: table;
}
.wrapr{
  display: table-row;
}
.wrapc{

    display: table-cell;

}
.table{
  display: table;
}
.cell{
  float: none !important;
  display: table-cell;
}

.vertical-align-middle{
  vertical-align:middle;
}
.wrapc.bottom, .wrapc-bottom{
    vertical-align: bottom;
     display: table-cell;
}
.circle-block{
    -webkit-border-radius: 50%;
  -moz-border-radius:    50%;
  border-radius:         50%;

  -moz-background-clip:    padding;
  -webkit-background-clip: padding-box;
  background-clip:         padding-box;
}
.hidden-action{
  cursor: pointer !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0 !important;
  cursor:pointer;
}

.table tbody>tr>td.vert-align{
    vertical-align: middle;
}

.wrap-flex{
  display: table;
    width: 100%;
    table-layout: fixed;
}
.wrap-flex2{
  display: table;
    width: 100%;

}
.flex{
  float: none !important;
  display: table-cell;
  vertical-align: top;
}

.blocks-justify{
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: justify;
  font-size: 0.1px;
}
.blocks-justify > *{
  font-size: auto !important;
  display: inline-block !important;
}
.blocks-justify:after{
  content: '';
  display: inline-block;
  width: 100%;
}
.truncate{
  overflow:hidden;
    white-space:nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
}
.flex-container{
  display: flex;
}

.flex-item{
  align-self: center;
}

.m-md{
  margin: 20px;
}
.m-lg{
  margin: 40px;
}
.m-sm{
  margin: 10px;
}
.mt-md{
  margin-top: 20px;
}
.mt-lg{
  margin-top: 40px;
}
.mt-sm{
  margin-top: 10px;
}
.ml-md{
  margin-left: 20px;
}
.ml-lg{
  margin-left: 40px;
}

.ml-sm{
  margin-left: 10px;
}
.mr-md{
  margin-right: 20px;
}
.mr-lg{
  margin-right: 40px;
}
.mr-sm{
  margin-right: 10px;
}


.mb-md{
  margin-bottom: 20px;
}
.mb-lg{
  margin-bottom: 40px;
}
.mb-sm{
  margin-bottom: 10px;
}

.p-md{
  padding: 20px;
}
.p-lg{
  padding: 40px;
}
.p-sm{
  padding: 10px;
}


.pt-md{
  padding-top: 20px;
}
.pt-lg{
  padding-top: 40px;
}
.pt-sm{
  padding-top: 10px;
}


.pl-md{
  padding-left: 20px;
}
.pl-lg{
  padding-left: 40px;
}
.pl-sm{
  padding-left: 10px;
}

.pr-md{
  padding-right: 20px;
}
.pr-lg{
  padding-right: 40px;
}
.pr-sm{
  padding-right: 10px;
}


.pb-md{
  padding-bottom: 20px;
}
.pb-lg{
  padding-bottom: 40px;
}
.pb-sm{
  padding-bottom: 10px;
}

.col-centered{
float: none;
margin: 0 auto;
}
.flex-row{
  display: flex;
}

.ratio_21_9:after{
    content: '';
    z-index: 1;
    width: 100%;
    display: block;
    padding-bottom: 42%;
    position: relative;
}
.ratio_21_9 > .content{
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ratio_16_9:after{
    content: '';
    z-index: 1;
    width: 100%;
    display: block;
    padding-bottom: 56.25%;
    position: relative;
}
.ratio_16_9 > .content{
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ratio_1_2:after{
    content: '';
    width: 100%;
    display: block;
    padding-bottom: 50%;
    position: relative;
}
.ratio_1_2 > .content{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.flex-col{
  flex: 1; /* additionally, equal width */
    -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
}

.bg-image{
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}
/* Widgets*/


.uploader-widget{
   transition: all 0.3s;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    vertical-align: middle;
    line-height: 25px;
}
.uploader-widget .icon{
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  font-family: 'Glyphicons Halflings';
  color: white;
  display: block;
  position: absolute;
  right: 0%;
  margin-right: 15px;
  bottom: 0%;
  font-size: 32px;
  margin-bottom: 15px;
  z-index: 1;
  height: 32px;
  width: 32px;
  opacity: 1;
  overflow: hidden;
}
.uploader-widget .icon > .progress{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: transparent;
}

.uploader-widget .icon:before{
    position: absolute;
    display: block;
    content: "\e027";
    height: 36px;
    width: 36px;
    line-height: 36px;
    font-size: 36px;
    /* background: red; */
    top: 50%;
    left: 50%;
    margin-top: -17px;
    margin-left: -18px;

}
.uploader-widget.uploading .icon:before{
     content: "\e031";
}
.uploader-widget.uploading .backdrop{
    opacity: 1;
}
.uploader-widget.uploading .icon{
    line-height: 62px;
    opacity: 1;

    animation-name:uploading_file;
        -o-animation-name:uploading_file;
        -ms-animation-name:uploading_file;
        -webkit-animation-name:uploading_file;
        -moz-animation-name:uploading_file;
    animation-duration:1.1s;
        -o-animation-duration:1.1s;
        -ms-animation-duration:1.1s;
        -webkit-animation-duration:1.1s;
        -moz-animation-duration:1.1s;
    animation-iteration-count:infinite;
        -o-animation-iteration-count:infinite;
        -ms-animation-iteration-count:infinite;
        -webkit-animation-iteration-count:infinite;
        -moz-animation-iteration-count:infinite;
    animation-direction:normal;
        -o-animation-direction:normal;
        -ms-animation-direction:normal;
        -webkit-animation-direction:normal;
        -moz-animation-direction:normal;
}

.uploader-widget.uploading .icon:before{
  content: "\e031";

}

.uploader-widget.uploader-image{
  background-color: rgba(0,0,0,0.5);
}

.uploader-widget.uploader-image .icon:before{
      content: "\e046";
      position: absolute;
      top: 50%;
      left: 50%;
      display: block;
      margin-left: -16px;
      margin-top: -16px;
}

.uploader-widget.uploader-image.uploading .icon:before{
  content: "\e031";
}



.uploader-widget .backdrop{

    position: absolute;
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    z-index: 0;
    transition: all 0.3s;
}
.uploader-widget:hover .backdrop{
    opacity: 1;
}



.uploader-widget.rounded{
  border-radius: 50%;
}
.uploader-widget.rounded .backdrop{
  border-radius: 50%;
}

.uploader-widget .icon{
    transition: all 0.3s;
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    height: 50px;
    width: 50px;
    line-height: 50px;
    margin-left: -25px;
    margin-top: -25px;
    border: 1px dashed white;
    /* padding: 30px; */
}
.uploader-widget:hover .icon{
  opacity: 1;

}


@keyframes uploading_file{
    0%{
        transform:rotate(0deg);
    }

    100%{
        transform:rotate(359.99deg);
    }
}

@-o-keyframes uploading_file{
    0%{
        -o-transform:rotate(0deg);
    }

    100%{
        -o-transform:rotate(359.99deg);
    }
}

@-ms-keyframes uploading_file{
    0%{
        -ms-transform:rotate(0deg);
    }

    100%{
        -ms-transform:rotate(359.99deg);
    }
}

@-webkit-keyframes uploading_file{
    0%{
        -webkit-transform:rotate(0deg);
    }

    100%{
        -webkit-transform:rotate(359.99deg);
    }
}

@-moz-keyframes uploading_file{
    0%{
        -moz-transform:rotate(0deg);
    }

    100%{
        -moz-transform:rotate(359.99deg);
    }
}


.unbordered{
    border: none;
}

.sm-radius{
    border-radius: 3px;
}

.white-wrapper{
    background: white;
}


.inline-waiting:after {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  -webkit-animation: ellipsis steps(4,end) 1200ms infinite;
  animation: ellipsis steps(4,end) 1200ms infinite;
  content: "\2026"; /* ascii code for the ellipsis character */
  width: 0px;
}

@keyframes ellipsis {
  to {
    width: 1.25em;
  }
}

@-webkit-keyframes ellipsis {
  to {
    width: 1.25em;
  }
}

.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
}
.loader {
  color: #8000ff;
  font-size: 11px;
  text-indent: -99999em;
  margin: 55px auto;
  position: relative;
  width: 10em;
  height: 10em;
  box-shadow: inset 0 0 0 1em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.loader:before,
.loader:after {
  position: absolute;
  content: '';
}
.loader:before {
  width: 5.2em;
  height: 10.2em;
  background: #83379b;
  border-radius: 10.2em 0 0 10.2em;
  top: -0.1em;
  left: -0.1em;
  -webkit-transform-origin: 5.2em 5.1em;
  transform-origin: 5.2em 5.1em;
  -webkit-animation: load2 2s infinite ease 1.5s;
  animation: load2 2s infinite ease 1.5s;
}
.loader:after {
  width: 5.2em;
  height: 10.2em;
  background: #83379b;
  border-radius: 0 10.2em 10.2em 0;
  top: -0.1em;
  left: 5.1em;
  -webkit-transform-origin: 0px 5.1em;
  transform-origin: 0px 5.1em;
  -webkit-animation: load2 2s infinite ease;
  animation: load2 2s infinite ease;
}
@-webkit-keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}