/*!
* Bootstrap - Custom Helper classes
* Copyright 2015 Peter Deak
* Licensed under MIT 
* Use: copy beside style.css and import --> @import url("helper.css"); 
*/

/* Remove focus, active outlines */
a:focus, 
a:active, 
button:focus, 
button:active {
    outline: none !important;
}

/* Remove underline for anchors */
a, a:hover {
    text-decoration: none;
}

/* Ease transition for anchors and buttons */
a, button, a img {
    -webkit-transition: all 0.3s ease-in 0s;
    transition: all 0.3s ease-in 0s;
}

/* debug */
pre {
    background: #000;
    border: 0 none;
    border-radius: 0;
    bottom: 0;
    color: #999;
    height: 150px;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    width: 100%;
    z-index: 9999;
    margin: 0;
    resize: vertical;
}

/* text hyphenation */
.text-hyphenate {
    text-align: justify;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.flat, .flat .form-control {
    border-radius: 0 !important;
}

.text-regular {
    font-weight: normal;
}

/* text sizes */
.text-xxs {
    font-size: 10px !important;
}
.text-xs {
    font-size: 11px !important;
}
.text-sm {
    font-size: 13px !important;
}
.text-md {
    font-size: 16px !important;
}
.text-lg {
    font-size: 20px !important;
}
.text-xl {
    font-size: 24px !important;
}
.text-xxl {
    font-size: 28px !important;
}

/* font awesome half size between default and 2x */
.fa-1x {
    font-size: 1.6em !important;
}

/* placeholder color */
.form-control::-webkit-input-placeholder {
    color: #999;
    opacity: 1;
}
.form-control::-moz-placeholder {
    color: #999;
    opacity: 1;
}
.form-control:focus::-moz-placeholder {
    opacity: 0;
}

/* no resize - textarea */
.no-resize {
    resize: none;
}

/* form element focus no-highlight */
.form-control:focus {
    border-color: inherit;
    box-shadow: none;
    outline: 0 none;
}

/* Remove the Gutter Padding from Columns */
.no-gutter {
    margin-left: 0;
    margin-right: 0;
}
.no-gutter > [class*='col-'] {
   padding-right: 0;
   padding-left: 0;
}

/* Half Gutter */
.half-gutter {
    margin-left: -7.5px;
    margin-right: -7.5px;
}
.half-gutter > [class*='col-'] {
   padding-right: 7.5px;
   padding-left: 7.5px;
}

/* Gutter 20 */
.gutter-20 {
    margin-left: -10px;
    margin-right: -10px;
}
.gutter-20 > [class*='col-'] {
   padding-right: 10px;
   padding-left: 10px;
}


/* unstyled list */
.list-unstyle {
    list-style-type: none;
    padding: 0;
}

/* Custom Container Sizes */
.container-small, 
.container-large {
   max-width: 100%;
}
@media (min-width: 768px) {
   .container-small {
      width: 300px;
   }
   .container-large {
      width: 970px;
   }
}
@media (min-width: 992px) {
   .container-small {
      width: 500px;
   }
   .container-large {
      width: 1170px;
   }
}
@media (min-width: 1200px) {
   .container-small {
      width: 700px;
   }
   .container-large {
      width: 1500px;
   }
}

/* Five columns */
.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
.col-xs-15 {
    width: 20%;
    float: left;
}
@media (min-width: 768px) {
.col-sm-15 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 992px) {
    .col-md-15 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 1200px) {
    .col-lg-15 {
        width: 20%;
        float: left;
    }
}



/* padded, bordered, box-shadow */

.padded {
   padding: 15px;
}
.padded-2x {
   padding: 30px;
}
.padding-top-50 {
    padding-top: 50px;
}
.padding-top-40 {
    padding-top: 40px;
}
.padding-top-30 {
    padding-top: 30px;
}
.padding-top-20 {
    padding-top: 20px;
}
.padding-top-15 {
    padding-top: 15px;
}
.bordered {
   border: 1px solid #ddd;
}
.box-shadow {
   -webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
   -moz-box-shadow:    0px 2px 4px 0px rgba(0, 0, 0, 0.2);
   box-shadow:         0px 2px 4px 0px rgba(0, 0, 0, 0.2);
}
.box-shadow-inset {
   -webkit-box-shadow: inset 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
   -moz-box-shadow:    inset 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
   box-shadow:         inset 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
}


/* Remove margins */
.no-margin {
   margin: 0;
}
.no-margin-top {
   margin-top: 0;
}
.no-margin-right {
   margin-right: 0;
}
.no-margin-bottom {
   margin-bottom: 0;
}
.no-margin-left {
   margin-left: 0;
}
@media only screen and (max-width : 480px) {
    .no-margin-xs {
       margin: 0 !important;
    }
    .no-margin-top-xs {
       margin-top: 0 !important;
    }
    .no-margin-right-xs {
       margin-right: 0 !important;
    }
    .no-margin-bottom-xs {
       margin-bottom: 0 !important;
    }
    .no-margin-left-xs {
       margin-left: 0 !important;
    }
}

/* Remove paddings */
.no-padding {
   padding: 0 !important;
}
.no-padding-top {
   padding-top: 0 !important;
}
.no-padding-right {
   padding-right: 0 !important;
}
.no-padding-bottom {
   padding-bottom: 0 !important;
}
.no-padding-left {
   padding-left: 0 !important;
}
@media only screen and (max-width : 480px) {
    .no-padding-xs {
       padding: 0 !important;
    }
    .no-padding-top-xs {
       padding-top: 0 !important;
    }
    .no-padding-right-xs {
       padding-right: 0 !important;
    }
    .no-padding-bottom-xs {
       padding-bottom: 0 !important;
    }
    .no-padding-left-xs {
       padding-left: 0 !important;
    }
}

/* Remove borders */
.no-border {
   border: 0;
}
.no-border-top {
   border-top: 0;
}
.no-border-right {
   border-right: 0;
}
.no-border-bottom {
   border-bottom: 0;
}
.no-border-left {
   border-left: 0;
}

/* Remove table borders */
.table-no-border,
.table-no-border td,
.table-no-border th {
    border: 0 !important;
}


/* XXS and XXL buttons */
.btn-xxs, 
.btn-group-xxs > .btn { 
   font-size: 10px;
   padding: 1px 5px;
   -webkit-border-radius: 2px;
   -moz-border-radius: 2px;
   border-radius: 2px;
}
.btn-xl,
.btn-group-xl > .btn {
   font-size: 22px;
   padding: 10px 26px;
   -webkit-border-radius: 8px;
   -moz-border-radius: 8px;
   border-radius: 8px;
}
.btn-xxl,
.btn-group-xxl > .btn {
   font-size: 35px;
   padding: 20px 26px;
   -webkit-border-radius: 8px;
   -moz-border-radius: 8px;
   border-radius: 8px;
}



/* Flat buttons and elements */
.btn-flat, 
.flat {
   -webkit-border-radius: 0 !important;
   -moz-border-radius: 0 !important;
   border-radius: 0 !important;
}

/* Gray buttons */
.btn-light-gray {
  background: rgba(239, 239, 239, 1);
  color: #999;
  border: 1px solid rgba(239, 239, 239, 1);
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}
.btn-light-gray:hover, 
.btn-light-gray:focus, 
.btn-light-gray:active {
  background: rgba(239, 239, 239, 0.7);
  border: 1px solid rgba(239, 239, 239, 0.7);
  color: #999;
}

.btn-gray {
  background: rgba(143, 143, 143, 1);
  color: #fff;
  border: 1px solid rgba(143, 143, 143, 1);
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}
.btn-gray:hover, 
.btn-gray:focus, 
.btn-gray:active {
  background: rgba(143, 143, 143, 0.7);
  border: 1px solid rgba(143, 143, 143, 0.7);
  color: #fff;
}
.btn-dark-gray {
  background: rgba(47, 47, 47, 1);
  color: #ccc;
  border: none;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}
.btn-dark-gray:hover, 
.btn-dark-gray:focus, 
.btn-dark-gray:active {
  background: rgba(47, 47, 47, 0.7);
  color: #ccc;
}


/* Outline buttons */
.btn-outline-light {
  background: rgba(0, 0, 0, 0);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.5);
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}
.btn-outline-light:hover, 
.btn-outline-light:focus, 
.btn-outline-light:active {
  background: rgba(0, 0, 0, 0);
  color: rgba(255, 255, 255, 1);
  border: 1px solid rgba(255, 255, 255, 1);
}


/* Hover zoom for image */
.hzoom-img {
  display: block;
  overflow: hidden;
  text-align: center;
  width: 100%;
}
.hzoom-img img {
  margin: 0 auto;
  -webkit-transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  -ms-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}
a:hover .hzoom-img img {
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
}

/* Hover zoom+rotate for image */
.hzoom-rotate-img {
    display: block;
    overflow: hidden;
    text-align: center;
    width: 100%;
}
.hzoom-rotate-img img {
    margin: 0 auto;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}
a:hover .hzoom-rotate-img img {
    -webkit-transform: scale(1.2) rotate(-5deg);
    -moz-transform: scale(1.2) rotate(-5deg);
    -ms-transform: scale(1.2) rotate(-5deg);
    -o-transform: scale(1.2) rotate(-5deg);
    transform: scale(1.2) rotate(-5deg);
}

/* hover slide up title fx */
.sd-fx.img-title {
    bottom: 25px;
    left: 0;
    right: 0;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    font-size: 13px;
    margin: 0 auto;
    opacity: 0;
    padding: 0;
    position: absolute;
    text-align: center;
    text-transform: none;
    transform: translateY(0px);
    transition: transform 0.3s ease 0s, opacity 0.3s ease 0s;
}
a:hover .sd-fx.img-title {
    opacity: 1;
    transform: translateY(-100%);
}

/* Justified Nav */
.nav-justified > li {
   float: none !important; 
}

/* Responsive text alignment & centered block */

.text-left-not-xs, 
.text-left-not-sm, 
.text-left-not-md, 
.text-left-not-lg {
    text-align: left;
}
.text-center-not-xs, 
.text-center-not-sm, 
.text-center-not-md, 
.text-center-not-lg {
    text-align: center;
}
.text-right-not-xs, 
.text-right-not-sm, 
.text-right-not-md, 
.text-right-not-lg {
    text-align: right;
}
.text-justify-not-xs, 
.text-justify-not-sm, 
.text-justify-not-md, 
.text-justify-not-lg {
    text-align: justify;
}
.center-block {
    margin: 0 auto;
    float: inherit;
}

@media (max-width: 767px) {
    .text-left-not-xs, 
    .text-center-not-xs, 
    .text-right-not-xs, 
    .text-justify-not-xs {
        text-align: inherit;
    }
    .text-left-xs {
        text-align: left;
    }
    .text-center-xs {
        text-align: center;
    }
    .text-right-xs {
        text-align: right;
    }
    .text-justify-xs {
        text-align: justify;
    }
    .center-block-xs {
        margin: 0 auto;
        float: inherit;
    }
    .no-padding-xs {
        padding: 0;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .text-left-not-sm, 
    .text-center-not-sm, 
    .text-right-not-sm, 
    .text-justify-not-sm {
        text-align: inherit;
    }
    .text-left-sm {
        text-align: left;
    }
    .text-center-sm {
        text-align: center;
    }
    .text-right-sm {
        text-align: right;
    }
    .text-justify-sm {
        text-align: justify;
    }
    .center-block-sm {
        margin: 0 auto;
        float: inherit;
    }
    .no-padding-sm {
        padding: 0;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .text-left-not-md, 
    .text-center-not-md, 
    .text-right-not-md, 
    .text-justify-not-md {
        text-align: inherit;
    }
    .text-left-md {
        text-align: left;
    }
    .text-center-md {
        text-align: center;
    }
    .text-right-md {
        text-align: right;
    }
    .text-justify-md {
        text-align: justify;
    }
    .center-block-md {
        margin: 0 auto;
        float: inherit;
    }
    .no-padding-md {
        padding: 0;
    }
}
@media (min-width: 1200px) {
    .text-left-not-lg, 
    .text-center-not-lg, 
    .text-right-not-lg, 
    .text-justify-not-lg {
        text-align: inherit;
    }
    .text-left-lg {
        text-align: left;
    }
    .text-center-lg {
        text-align: center;
    }
    .text-right-lg {
        text-align: right;
    }
    .text-justify-lg {
        text-align: justify;
    }
    .center-block-lg {
        margin: 0 auto;
        float: inherit;
    }
    .no-padding-lg {
        padding: 0;
    }
}

/* gaps */
.gap {
    clear: both;
    display: block;
    height: 15px;
    width: 100%;
}
.gap20 {
    clear: both;
    display: block;
    height: 20px;
    width: 100%;
}
.gap30 {
    clear: both;
    display: block;
    height: 30px;
    width: 100%;
}
.gap40 {
    clear: both;
    display: block;
    height: 40px;
    width: 100%;
}

/* responsive table */
@media only screen and (max-width: 800px) {
    
    /* Force table to not be like tables anymore */
	#no-more-tables table, 
	#no-more-tables thead, 
	#no-more-tables tbody, 
	#no-more-tables th, 
	#no-more-tables td, 
	#no-more-tables tr { 
		display: block; 
	}
 
	/* Hide table headers (but not display: none;, for accessibility) */
	#no-more-tables thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
 
	#no-more-tables tr { border: 1px solid #ccc; }
 
	#no-more-tables td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
		white-space: normal;
		text-align:left;
	}
	
	#no-more-tables td.full { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 8px; 
		padding-top: 30px;
		white-space: normal;
		text-align:left;
	}
 
	#no-more-tables td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
		text-align:left;
		font-weight: bold;
	}
 
	/*
	Label the data
	*/
	#no-more-tables td:before { content: attr(data-title); }
}

.cell-top {
    vertical-align: top !important;
}
.cell-middle {
    vertical-align: middle !important;
}
.cell-bottom {
    vertical-align: bottom !important;
}

/* Multiple column list */
ul.multi-col-list {
	overflow: hidden;
}
ul.multi-col-list li{
	line-height: 1.5em;
	float: left;
	display: inline;
}
ul.multi-col-list.list-2 li	{ 
    width: 50%;
}
ul.multi-col-list.list-3 li	{ 
    width: 33.333%; 
}
ul.multi-col-list.list-4 li	{ 
    width: 25%; 
}
ul.multi-col-list.list-6 li	{ 
    width: 16.666%; 
}


/* Mega menu */
.mega-menu .nav, 
.mega-menu .collapse, 
.mega-menu .dropup, 
.mega-menu .dropdown {
    position: static;
}
.mega-menu .container {
    position: relative;
}
.mega-menu .dropdown-menu {
    left: auto;
}
.mega-menu .mega-menu-content {
    padding: 15px 20px;
}
.mega-menu .dropdown.mega-menu-fw .dropdown-menu {
    left: 0;
    margin: 0 15px;
    right: 0;
}


/* flat color alerts */
.alert-danger {
    background-color: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}
.alert-warning {
    background-color: #e67e22;
    border-color: #e67e22;
    color: #fff;
}
.alert-info {
    background-color: #3498db;
    border-color: #3498db;
    color: #fff;
}
.alert-success {
    background-color: #1abc9c;
    border-color: #1abc9c;
    color: #fff;
}
