/*
    NAME :  OUR FRAMEWORK
    AUTHOR NAME : Infinyteam
    AUTHOR WEBSITE : www.infinyteam.net
    OUR PORTFOLIO : http://themeforest.net/user/infinyteam/portfolio?ref=infinyteam
*/

/* BORDER BOX */
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* TEXT */
.text-justify{ text-align: justify; }
.text-center{ text-align: center; }
.text-left{ text-align: left; }
.text-right{ text-align: right; }

/* LAYOUT FLOATS */
.float-left{ float: left;}
.float-right{ float: right;}

/* TABLE */
.table:after, .table:before {
    content: " ";
    display: table;
}

.table-cell {
    display: table-cell;
    width: 10%;
    vertical-align: middle;
}

.display-flex{
    display: flex;
}

.display-flex-middle{
    display: block;
    vertical-align: middle;
    margin: 0 auto;
}

.inline-block{
    display: inline-block;
}

/* CLEAR */
.clear{
    clear: both
}

/* UTILITIES */
.no-padding{ padding: 0; }
.no-top-padding{ padding-top: 0; }
.no-bottom-padding{ padding-bottom: 0; }
.top-padding{ padding-top: 30px; }
.bottom-padding{ padding-bottom: 30px; }
.no-margin{ margin: 0; }
.top-margin{ margin-top: 30px; }
.bottom-margin{ margin-bottom: 30px; }

/* LISTS */
ul,li{
    list-style: none;
    margin: 0;
    padding: 0
}

/* LARGE GRID */
.row-large {
    margin-left: -15px;
    margin-right: -15px;
}

.row-large [class*=" col-"], .row-large [class^=col-] {
    padding-left: 15px;
    padding-right: 15px;
}

/* MEDIUM GRID */
.row-medium {
    margin-left: -10px;
    margin-right: -10px;
}

.row-medium [class*=" col-"], .row-medium [class^=col-] {
    padding-left: 10px;
    padding-right: 10px;
}

/* SMALL GRID */
.row-small {
    margin-left: -5px;
    margin-right: -5px;
}

.row-small [class*=" col-"], .row-small [class^=col-] {
    padding-left: 5px;
    padding-right: 5px;
}


/* EXTRA SMALL GRID */
.row-tiny {
    margin-left: -1px;
    margin-right: -1px;
}

.row-tiny [class*=" col-"], .row-tiny [class^=col-] {
    padding-left: 1px;
    padding-right: 1px;
}


/* NO GRID SPERATOR */
.row-no {
    margin-left: 0px;
    margin-right: 0px;
}

.row-no [class*=" col-"], .row-no [class^=col-] {
    padding-left: 0px;
    padding-right: 0px;
}


/* NO GRID SPERATOR */
.row-gallery {
    margin-left: -2px;
    margin-right: -2px;
}

.row-gallery [class*=" col-"], .row-gallery [class^=col-] {
    padding-left: 1px;
    padding-right: 1px;
    padding-top: 1px;
    padding-bottom: 1px;
}

.container-fluid .row {
    margin-left: -1px;
    margin-right: -1px;
}

.container-fluid .row [class*=" col-"], .container-fluid .row [class^=col-] {
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 1px;
    padding-bottom: 1px;
}

/* IMAGES */
img {
    max-width: 100%;
    display: block
}

/* SCROLL BAR */
::-webkit-scrollbar{width:5px;height:5px}
::-webkit-scrollbar-track{background-color:#EEE}
::-webkit-scrollbar-thumb{background-color:#333}
::-webkit-scrollbar-thumb:window-inactive{background:#333}
::-webkit-scrollbar-thumb:hover{background-color:#333}

/* TABS */
.tabs-widget .tab-content .widget {
    margin: 0
}

.tab-content > .tab-pane {
    display: none
}

.tab-content > .active {
    display: block
}

.tab-content .fade {
    opacity: 0;
    -webkit-transform: translateY(5px);
    -moz-transform: translateY(5px);
    transform: translateY(5px)
}

.tab-content .fade.in {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    transform: translateY(0);
    opacity: 1
}

.tab-content .fade{
    -webkit-transition: 0.4s ease-in-out;
    -moz-transition: 0.4s ease-in-out;
    -o-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
}

/* TOOLTIP */
.tooltip {
    position: absolute;
    z-index: 1070;
    display: block;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: left;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    word-wrap: normal;
    white-space: normal;
    filter: alpha(opacity=0);
    opacity: 0;
    line-break: auto
}

.tooltip.in {
    filter: alpha(opacity=90);
    opacity: .9;
    -webkit-transition: 0;
    -moz-transition: 0;
    transition: 0
}

.tooltip.top {
    padding: 5px 0;
    margin-top: -3px
}

.tooltip.bottom {
    padding: 5px 0;
    margin-top: 3px
}

.tooltip-inner {
    max-width: 200px;
    padding: 3px 8px;
    color: #fff;
    text-align: center;
    background-color: #000;
    border-radius: 4px
}

.tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid
}

.tooltip.top .tooltip-arrow {
    bottom: 0;
    left: 50%;
    margin-left: -5px;
    border-width: 5px 5px 0;
    border-top-color: #000
}

.tooltip.bottom .tooltip-arrow {
    top: 0;
    left: 50%;
    margin-left: -5px;
    border-width: 0 5px 5px;
    border-bottom-color: #000
}

/* DROPDOWN */
.dropdown ul,.btn-group ul{
    opacity: 0;
    visibility: hidden;
    -webkit-transform: scale(.9);
    -moz-transform: scale(.9);
    -ms-transform: scale(.9);
    -o-transform: scale(.9);
    transform: scale(.9);
}

.dropdown.open ul,.btn-group.open ul{
    opacity: 1;
    visibility: visible;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}    

/* MAGNIFIC POPUP */
/* overlay at start */
.mfp-fade.mfp-bg {
    opacity: 0;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;    
    -webkit-transform: scale(.5);
    -moz-transform: scale(.5);
    -ms-transform: scale(.5);
    -o-transform: scale(.5);
    transform: scale(.5);
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
    -webkit-transform: scale(.5);
    -moz-transform: scale(.5);
    -ms-transform: scale(.5);
    -o-transform: scale(.5);
    transform: scale(.5);
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
}


/* Gray Scale */
.effect img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.effect:hover img {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
}