/* Layout */
* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Muli', sans-serif;
    font-size: 16px;
    line-height: 145%;
    color: #444;
}

/*
Layout with flexbox
*/
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.container--small {
    max-width: 800px;
}

.row {
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Chrome */
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

.col {
    -webkit-box-flex: 1; /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex: 1; /* OLD - Firefox 19- */
    -webkit-flex: 1; /* Chrome */
    -ms-flex: 1; /* IE 10 */
    flex: 1;
}

/*
Extra Layout - 33%
*/
.col--30 {
    -webkit-box-flex: 0 0 33.3333%;;
    -moz-box-flex: 0 0 33.3333%;;
    -webkit-flex: 0 0 33.3333%;;
    -ms-flex: 0 0 33.3333%;;
    flex: 0 0 33.3333%;;
}

/*
Media query
*/
@media (max-width: 768px) {
    .row > .col,
    .col--30 {
        -webkit-box-flex: 0 0 100%;
        -moz-box-flex: 0 0 100%;
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    }
}

@media (max-width: 480px) {

}

header {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
}

.bodywrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    display: table;
}

aside {
    width: 20%;
    float: left;
    padding: 20px 0;
    max-width: 295px;
}

aside li {
    margin: 10px 0;
}

aside a {
    padding: 2px 0;
    display: inline-block;
}

section {
    width: 80%;
    float: right;
    padding: 0 20px 40px 40px;
    border-left: 1px solid #eee;
}

footer {
    width: 100%;
    display: inline-block;
    border-top: 1px solid #eee;
    padding: 10px;
    text-align: center;
}

.ion-heart {
    color: #fb6a66;
}

.space-between {
    justify-content: space-between;
}

/*Custom style*/
.logo {
    padding-top: 8px;
}

.logo img {
    max-width: 120px;
}

.top-nav {
    text-align: right;
}

.top-nav .btn {
    margin-top: 4px;
}

.mainbody {
    padding: 10% 20px;
    background: url('../img/welcome-bg-b.jpg') no-repeat center center;
    background-size: cover;
    -moz-background-size: cover;
    position: relative;
}

.mainbody.variantB {
   background: url('../img/welcome-bg-b.jpg') no-repeat center center;
   background-size: cover;
    -moz-background-size: cover;
}
.reg-form {
    max-width: 580px;
    padding: 94px 50px 60px 50px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    font-family: 'Montserrat', sans-serif;
}

.reg-form h1 {
    text-transform: none;
    line-height: 140%;
    margin-bottom: 20px;
}

.reg-form h1 small{font-size: 60%}

.reg-form button {
    width: 100%;
}

.reg-form .reg-form-email {
    background: #fce4d6;
    color: #222;
    text-align: center;
}

.reg-form-email::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #444;
}

.reg-form-email::-moz-placeholder { /* Firefox 19+ */
    color: #444;
}

.reg-form-email:-ms-input-placeholder { /* IE 10+ */
    color: #444;
}

.reg-form-email:-moz-placeholder { /* Firefox 18- */
    color: #444;
}

.as-featured {
    padding: 0;
    overflow-x: scroll;
    display: table;
    max-width: 1400px;
    margin: 0 auto;
}

footer {
    font-size: smaller;
    background: #f7f7f7
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
}

footer ul li {
    flex: 0 0 auto;
    padding: 10px;
}

footer ul li {
    padding: 10px;
}

footer a,
footer a:hover {
    border-bottom: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 40px;
}

img {
    max-width: 100%;
}

/*Buttons*/
.btn {
    display: inline-block;
    font-size: 12px;
    padding: 5px 10px;
    background: #fff;
    border: 1px solid #444;
    text-decoration: none;
    color: #444;
    cursor: pointer;
    line-height: 145%;
    transition: all 0.2s ease-in-out;
    font-family: 'Montserrat', sans-serif;
}

.btn:hover {
    background: #f7f7f7;
}

.btn-cta {
    background: #fb6a66;
    color: #fff;
    border: none;
}

.btn-line {
    background: none;
    border: 1px solid #444;
}

.btn-lg {
    font-size: 16px;
    padding: 10px 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cta:hover {
    background: #ff4646;
    border: none;
}

/*Links*/
a {
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    color: #444;
    transition: all 0.2s ease-in-out;
}

a:hover {
    border-bottom: 1px solid #444;
}

.contains-image,
.contains-image:hover {
    border: none;
}

/*Form*/
fieldset {
    border: none;
    padding: 0;
}

.form-field {
    margin: 0;
    margin-bottom: 10px;
}

.ff-fifty {
    width: 50%;
    float: left;
    padding: 2px;
}

label {
    color: #444;
    font-size: 14px;
    display: inline-table;
}

textarea,
select,
input[type="text"],
input[type="number"],
input[type="search"],
input[type="email"],
input[type="tel"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    font-size: 18px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 2px;
}

select {
    height: 43px;
    background: #fff;
}

article ul {
    margin: 10px 0 10px 24px;
    padding: 0;
}

article ul li {
    margin: 5px 0;
}

/*Form Error*/
.error input[type="text"] {
    border: 1px solid #fb6a66;
}

.error-msg {
    font-size: 14px;
    padding: 4px;
    color: #fb6a66;
    border: 1px solid #fb6a66;
    margin-bottom: 10px;
}

.error .error-msg {
    border: none;
    margin-bottom: 0;
}

/*Tooltip*/
#tooltip {
    text-align: center;
    color: #fff;
    background: #000;
    position: absolute;
    z-index: 100;
    padding: 15px;
    font-size: 12px;
    line-height: 160%;
    max-width: 400px;
}

#tooltip:after { /* triangle decoration */
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #000;
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    margin-left: -10px;
}

#tooltip.top:after {
    border-top-color: transparent;
    border-bottom: 10px solid #000;
    top: -20px;
    bottom: auto;
}

#tooltip.left:after {
    left: 10px;
    margin: 0;
}

#tooltip.right:after {
    right: 10px;
    left: auto;
    margin: 0;
}

/*Notifications*/
.badge-new,
.badge-active,
.badge-gray {
    padding: 2px 4px;
    color: #fff;
    background: #fb6a66;
    display: inline-block;
    font-size: 10px;
    vertical-align: middle;
    border-radius: 2px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.5em;
}

.badge-active {
    background: #4ebc41;
}

.badge-gray {
    background: #999;
}

/*Layout samples*/
.layout-demo h1 {
    margin: 0;
}

/*Modal box*/
.modalbox {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    width: 80%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.modal-close {
    position: absolute;
    top: 0;
    right: 10px;
}

.modal-close i {
    font-size: 40px;
}

/*Tabs*/
.fff-tabs {
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.fff-tabs {
    justify-content: flex-start;
    border-bottom: 1px solid #ddd;
}

.fff-tabs span {
    cursor: pointer;
    position: relative;
    font-size: 14px;
    border: none;
    padding: 15px;
    font-family: 'Montserrat', sans-serif;
    -webkit-box-flex: 0 0 auto;
    -moz-box-flex: 0 0 auto;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.fff-tabs span {
    background: #eee;
    border-right: 1px solid #fff;
}

.fff-tabs span.active {
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    margin-bottom: -1px;
    background: #fff;
}

.fff-tab-content {
    display: none;
    padding: 20px 20px 60px 20px;
}

.current {
    display: inherit !important;
}
/* Tem */
.enlarge{
  font-size: 18px;
}
/* Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .modalbox {
        padding-top: 10px;
    }

    aside,
    section {
        width: 100%;
        float: none;
    }

    section {
        padding-left: 0;
        border-left: none;
    }

    #fix_on_scroll {
        position: static !important;
    }

    header .col {
        -webkit-box-flex: 0 0 auto !important;
        -moz-box-flex: 0 0 auto !important;
        -webkit-flex: 0 0 auto !important;
        -ms-flex: 0 0 auto !important;
        flex: 0 0 auto !important;
    }

    .as-featured {
        display: block;
    }
}

@media (max-width: 480px) {
    .mainbody {
        padding: 10% 10px;
    }

    .mainbody.variantB {
        background: url('../img/welcome-bg-b-mob.png') no-repeat center center;
        background-size: cover;
        -moz-background-size: cover;
    }

    .top-nav .btn {
        margin-top: 8px;
        padding: 6px 18px;
    }

    .reg-form {
        padding: 30px;
    }

    .reg-form h1 {
        font-size: 20px;
    }

    footer ul li {
        -webkit-box-flex: 0 0 100%;
        -moz-box-flex: 0 0 100%;
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    }

    .as-featured {
        display: block;
    }

    .as-featured img {
        min-width: 800px;
    }
    .enlarge{
      font-size: 16px;
    }
}
