/*----------------------------------------*/
/*  Theme default CSS
/*----------------------------------------*/

.clear {
    clear: both
}

::-moz-selection {
    background: #00b0ff;
    color: $primaryColor;
    text-shadow: none;
}

::selection {
    background: #00b0ff;
    color: $primaryColor;
    text-shadow: none;
}

.no-mar {
    margin: 0!important;
}
.no-mar-bot {
    margin: 0px!important;
}
.no-pad {
    padding: 0!important;
}
.mar-1_br {
    margin-right: -1px;
    margin-bottom: -1px;
}
div#preloader {
    background: #262626 url("../img/preloader.gif") no-repeat scroll center center;
    height: 100%;
    left: 0;
    overflow: visible;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

header.navbar-fixed-top {
    animation-duration: 0.8s;
    animation-name: fadeInDown;
    animation-timing-function: ease-in-out;
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.75);
    left: 0;
    position: fixed !important;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 999;
}

.mar-bot-50 {
    margin-bottom: 50px;
}

.mar-bot-40 {
    margin-bottom: 40px;
}

.mar-bot-35 {
    margin-bottom: 35px;
}

.mar-bot-30 {
    margin-bottom: 30px;
}

.mar-top-30 {
    margin-top: 30px;
}

.mar-top-80 {
    margin-top: 80px;
}

.mar-top-80 {
    margin-top: 80px;
}

.mar-top-55 {
    margin-top: 55px;
}

.mar-top-108 {
    margin-top: 108px;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

*:focus {
    outline: 0;
}

html {
    font-size: 62.5%;
    -webkit-font-smoothing: antialiased;
}

body {
    background: $primaryColor;
    font-weight: normal;
    font-size: 15px;
    letter-spacing: 1.5px;
    color: #888;
    line-height: 30px;
    -webkit-font-smoothing: antialiased;
    /* Fix for webkit rendering */
    -webkit-text-size-adjust: 100%;
}
.dark-bg {
    background-color: $tertiaryColor;
}
img {
    max-width: 100%;
    height: auto;
}

button,
input,
textarea {
    letter-spacing: 1px;
}



/* 
Table Of Contents
=========================
- Default Typography
- Custom Typography
=========================
*/


/* 
--------------------------
- Default Typography
--------------------------
*/

body {
    font-family: $primaryFont;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: $primaryFont;
    font-weight: 700;
    color: #000;
    letter-spacing: 1.5px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    a {
        font-weight: inherit;
        font-family: $primaryFont;
    }
}

h1 {
    font-size: 36px;
    line-height: 70px;
    letter-spacing: 1px;
    margin-bottom: 0px;
}

h2 {
    font-size: 22px;
    line-height: 24px;
    margin-bottom: 0px;
}

h3 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 0px;
}

h4 {
    font-size: 20px;
    line-height: 27px;
}

h5 {
    font-size: 16px;
    line-height: 24px;
}

h6 {
    font-size: 14px;
    line-height: 24px;
}

p {
    font-family: $secondaryFont;
    font-weight: normal;
    letter-spacing: 0;
    line-height: 28px;
    margin: 0;
}

p {
    img {
        margin: 0;
    }
}

span {
    font-family: $primaryFont;
}


/* em and strong */

em {
    font: 15px/30px;
}

strong,
b {
    font: 15px/30px;
}

small {
    font-size: 11px;
    line-height: inherit;
}


/*  blockquotes */

blockquote {
    border-left: 0 none;
    font-family: $primaryFont;
    margin: 10px 0;
    padding-left: 40px;
    position: relative;
}

blockquote {
    &::before {
        color: #4e5665;
        content: "";
        font-family: FontAwesome;
        font-size: 36px;
        left: 20px;
        line-height: 0;
        margin: 0;
        opacity: 0.5;
        position: absolute;
        top: 20px;
    }
    p {
        font-style: italic;
        padding: 0;
        font-size: 18px;
        line-height: 36px;
    }
    cite {
        display: block;
        font-size: 12px;
        font-style: normal;
        line-height: 18px;
        &:before {
            content: "\2014 \0020";
        }
        a,
        a:visited {
            color: #8B9798;
            border: none
        }
    }
}


/* abbreviations */

abbr {
    color: #444;
    font-weight: 700;
    font-variant: small-caps;
    text-transform: lowercase;
    letter-spacing: .6px;
    &:hover {
        cursor: help;
    }
}

/* links */

a,
a:visited {
    text-decoration: none;
    font-family: $primaryFont;
    font-weight: normal;
    font-size: 12px;
    color: #111;
    @include transition(all,.3s,ease-in-out);
    outline: 0;
}

a:hover,
a:active {
    color: #00b0ff;
    text-decoration: none;
    outline: 0;
}

a:focus {
    text-decoration: none;
    outline: 0;
}

p {
    a,
    a:visited {
    line-height: inherit;
    outline: 0;
    }
}

a.active-page {
    color: #e6ae48!important;
}


/* list */

ul,
ol {
    margin-bottom: 0px;
    margin-top: 0px;
}

ul {
    margin: 0;
}

ol {
    list-style: decimal;
}

ol,
ul.square,
ul.circle,
ul.disc {
    margin-left: 0px;
}

ul.square {
    list-style: square outside;
}

ul.circle {
    list-style: circle outside;
}

ul.disc {
    list-style: disc outside;
}

ul,
ol {
    ul,
    ol {
        margin: 0;
        li {
            margin-bottom: 0px;
        }
    }
}

li {
    line-height: 18px;
    margin-bottom: 0px;
}

ul.large {
    li {}
}

li {
    p {}
}


/* definition list */

dl {
    margin: 12px 0;
}

dt {
    margin: 0;
    color: #11ABB0;
}

dd {
    margin: 0 0 0 20px;
}

button {}


i[class^="flaticon-"] {
    &:before {
        font-size: inherit;
        margin: 0; 
    }
}

.section-padding {
    padding: 80px 0px;
}
.section-padding-top {
    padding-top: 80px;
}
.section-padding-bot {
    padding-bottom: 80px;
}
.no-pad-top {
    padding-top: 0px;
}
.no-pad-bot {
    padding-top: 0px;
}
.section-titleV1 {
    position: relative;
    text-align: center;
    max-width: 750px;
    padding: 20px;
    margin: 20px auto;
    
    p {
        font-size: 18px;
        letter-spacing: 0px;
        color: $quaternaryColor;
        text-transform: uppercase;
        font-weight: 600;
        line-height: 24px;
        
    }
    h3 {
        font-size: 36px;
        letter-spacing: 0px;
        color: $secondaryColor;
        line-height: 44px;
        font-weight: 500;
        margin: 10px auto;
        text-transform: uppercase;
        
    }
}
.bgDark {
    .section-titleV1 {
        p {
            color: $primaryColor;
        }
        h3 {
            color: $primaryColor;
        }
    }
}
.section-titleV2 {
    position: relative;
    margin: 25px auto;
    padding: 25px 0px;
    text-align: center;
    max-width: 880px;
}

.section-titleV2 h3 {
    font-size: 36px;
    font-family: $quaternaryFont;
    letter-spacing: 0px;
    line-height: 46px;
    font-weight: 500;
    max-width: 767px;
    margin: 0 auto 25px;
}

.section-titleV2 p {
    /* font-family: $quaternaryFont; */
    font-size: 18px;
    letter-spacing: 0px;
    font-weight: 400;
    color: $tertiaryColor;
}
.section-titleV2alt {
    position: relative;
    margin: 25px auto;
    padding: 25px 0px;
    text-align: center;
    max-width: 880px;
}

.section-titleV2alt h3 {
    font-size: 36px;
    font-family: $quaternaryFont;
    letter-spacing: 0px;
    line-height: 46px;
    font-weight: 500;
    max-width: 767px;
    margin: 0 auto 25px;
    color: $primaryColor;
}

.section-titleV2alt p {
    /* font-family: $quaternaryFont; */
    font-size: 18px;
    letter-spacing: 0px;
    font-weight: 400;
    color: $primaryColor;
}
.bgOffWhite {
    background-color: #f6f6f6;
}
/*  Section Text */

.section-text {
    position: relative;
}

.section-text p {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0px;
    color: $secondaryColor;
    margin-bottom: 25px;
}

.section-text a {}

.section-text .section-titleV1 {
    padding-top: 0px;
    padding-bottom: 0px;
}

.section-text .section-titleV1 p {
    font-size: 18px;
    margin-bottom: 0px;
}

.section-text .section-titleV1 h3 {}

.section-text ul {
    position: relative;
    padding: 15px;
    list-style-type: none;
    background-color: $elementsColor;
    margin-bottom: 25px;
    border-radius: 5px;
}

.section-text ul li {
    font-size: 16px;
    letter-spacing: 0px;
    line-height: 24px;
    margin: 5px auto;
    padding-left: 10px;
    font-weight: 400;
    font-style: italic;
    color: $primaryColor;
}
.dark-bg {
    .section-text {
        p {
            color: $primaryColor;
        }
    }
}
.st-white {
    .section-titleV1 h3 {
        color: $primaryColor;
    }
    .section-titleV1 p {
        color: $primaryColor;
    }
    p {
        color: $primaryColor;
    }
}
/* Button Style */
.btn-style-1 {
    font-size: 16px !important;
    letter-spacing: 0px;
    color: $primaryColor !important;
    background-color: $elementsColor;
    padding: 12px 20px;
    display: inline-block;
    border-radius: 5px;
    position: relative;
    // &:hover {
    //     color: $primaryColor;
    //     // box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    //     box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2), 0 4px 6px 0 rgba(0, 0, 0, 0.19);
    // }
    &:before,
    &:after {
        position: absolute;
        content: '';
        height: 100%;
        width: 50%;
        background-color: rgba(0, 0, 0, 0.15);
        top: 0;
        opacity: 0;
        transition: .5s ease;
    }

    &:before {
        left: 0;
    }
    &:after {
        right: 0;
    }

    &:hover {
        &:before {
            opacity: 1;
            width: 0px;
        }
        &:after {
            opacity: 1;
            width: 0px;
        }
    }
}

a.btns1b {
    position: relative;
    background-color: #eb9d37 !important;
    color: #fff !important;
    border-color: #eb9d37 !important;
    &:before,
    &:after {
        position: absolute;
        content: '';
        height: 100%;
        width: 50%;
        background-color: rgba(0, 0, 0, 0.15);
        top: 0;
        opacity: 0;
        transition: .5s ease;
    }

    &:before {
        left: 0;
    }
    &:after {
        right: 0;
    }

    &:hover {
        &:before {
            opacity: 1;
            width: 0px;
        }
        &:after {
            opacity: 1;
            width: 0px;
        }
    }
}

.read-more-btn-1 {
    position: relative;
    font-size: 12px !important;
    font-family: $quaternaryFont !important;
    letter-spacing: 0px;
    color: $primaryColor !important;
    background-color: #d79e43;
    padding: 5px 18px;
    display: inline-block;
    border-radius: 5px;
    &:before,
    &:after {
        position: absolute;
        content: '';
        height: 100%;
        width: 50%;
        background-color: rgba(0, 0, 0, 0.15);
        top: 0;
        opacity: 0;
        transition: .5s ease;
    }

    &:before {
        left: 0;
    }
    &:after {
        right: 0;
    }

    
    &:hover {
        color: $primaryColor;
        // box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        //box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2), 0 4px 6px 0 rgba(0, 0, 0, 0.19);
        &:before {
            opacity: 1;
            width: 0px;
        }
        &:after {
            opacity: 1;
            width: 0px;
        }
    }
    i {
        margin-left: 5px;
    }
}



// animation: arrow 2s infinite;
// -webkit-animation: arrow 2s infinite; 

/* -------- KeyFrames -------- */

// Spinner 
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

// AntiClockWise Spinner
@-moz-keyframes AntiClockWiseSpin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(-360deg); }
}
@-webkit-keyframes AntiClockWiseSpin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(-360deg); }
}
@keyframes AntiClockWiseSpin {
    from {transform:rotate(0deg);}
    to {transform:rotate(-360deg);}
}




@-webkit-keyframes shine {
    from {
      opacity: 0;
      left: 0%;
    }
    50% {
      opacity: 1;
    }
    to {
      opacity: 0;
      left: 100%;
    }
  }
  @-moz-keyframes shine {
    from {
      opacity: 0;
      left: 0%;
    }
    50% {
      opacity: 1;
    }
    to {
      opacity: 0;
      left: 100%;
    }
  }
  @keyframes shine {
    from {
      opacity: 0;
      left: 0%;
    }
    50% {
      opacity: 1;
    }
    to {
      opacity: 0;
      left: 100%;
    }
  }





  


  @-webkit-keyframes scrollBounce {
	0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);}	
	40% {-webkit-transform: translateY(-30px);}
	60% {-webkit-transform: translateY(-15px);}
}
 
@-moz-keyframes scrollBounce {
	0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);}
	40% {-moz-transform: translateY(-30px);}
	60% {-moz-transform: translateY(-15px);}
}
 
@-o-keyframes scrollBounce {
	0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);}
	40% {-o-transform: translateY(-30px);}
	60% {-o-transform: translateY(-15px);}
}
@keyframes scrollBounce {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-30px);}
	60% {transform: translateY(-15px);}
}






/* -------- KeyFrames END -------- */

/* ---------- Theme default CSS END ---------- */