/**
 
 COLORS :
    primary         6BA730
    primary-light   C0DBA5

**/

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #263A54;
    background-image: url('../img/background1.jpg');
    background-attachment: fixed;
    font-family: 'Open Sans', serif;
    font-weight: 200;
}

/********************************************************************
 * 
 *  LAYOUT
 * 
 *******************************************************************/

#menu {
    margin: 20px auto 0 auto;
    width: 1000px;
}

    #menu img {
        margin : 26px 0;
        height: 50px;
    }

    #menu > ul {
        float: right;
        margin: 40px 0;
        padding: 0;
    }
        #menu > ul > li {
            font-size: 15px;
            color: white; /*#263A54;*/
            margin-left: 30px;
        }
            #menu > ul > li .caret {
                color: white;
            }
            #menu-action {
                border: 2px solid #162D48;
                background: #2C4E6B;
                padding: 5px 15px;
                border-radius: 20px;
                display: inline-block;
            }
            #menu-action:hover {
                background: #345979;
            }
            #menu-action.invite {
                background: #6BA730;
                margin-right: -15px;
            }
            #menu-action.invite:hover {
                background: #5E9824;
            }
            .body-invite #menu-action.invite,
            .body-index #menu-action.invite {
                display: none;
            }
            #menu > ul > li > a,
            #menu > ul > li > div > a {
                cursor: pointer;
                text-decoration: none;
                color: white; /*#263A54;*/
            }
            #menu .dropdown-menu {
                left: -55px;
                top: 40px;
            }
            #menu .dropdown-menu > li {
                display: block;
            }
            #menu .dropdown-menu > li > a {
                padding: 10px;
            }

@media (max-width: 960px) {
    body {
        background-image: none;
    }
    #menu {
        width: auto;
        padding: 0;
        margin: 0;
        text-align: center;
        margin: 0;
    }
    #menu > ul {
        margin: 10px 0;
        float: none;
        text-align: center;
    }
    #menu ul li {
        display: inline-block;
        float: none;
        margin: 0 5px 0 5px;
    }
    .main {
        margin-bottom: 0 !important;
    }
    .main h1,
    .box h1,
    h1 {
        font-size: 20px !important;
    }
}

.main {
    width: 700px;
    margin: 30px auto 60px auto;
    background: white;
    border-radius: 4px;
    box-shadow: 0px 0px 5px #000;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.3);
    padding: 30px;
}

    .main h1,
    .box h1 {
        color: #6ba730;
        font-size: 24px;
        margin: 0;
        margin-bottom: 30px;
        text-align: center;
    }

        .main p.intro {
            font-size: 14px;
            text-align: center;
            margin-top: -20px;
            margin-bottom: 30px;
        }

        .main h3 {
            color: #6BA730;
            font-weight: 400;
            text-decoration: none;
        }


/********************************************************************
 * 
 *  UTILS
 * 
 *******************************************************************/

.well {
    background: #F6F6F6;
    padding: 30px;
    margin: 0 -30px;
    box-shadow: none;
    border: none;
    border-radius: 0;
}

input,
input.form-control,
textarea.form-control {
    box-shadow: none;
    outline: none;
}

    input.has-error,
    select.has-error,
    textarea.has-error {
        background: #FFEEEE !important;
        color: red;
    }

.separator {
    height: 1px;
    background: #F6F6F6;
    margin: 0;
}

li {
    list-style: none;
    display: inline;
}

.small-content {
    font-size: 12px;
}

.btn,
.round-outer {
    border-radius: 20px;
    border: 1px solid #C0DBA5;
    color: #6BA730;
    font-weight: 200;
}
.btn:hover,
.btn:active,
.btn:focus,
.btn:active:focus {
    outline: none;
    background: #6BA730;
    border-color: #6BA730;
    color: #FFF;
}
.btn.btn-primary {
    background: #6BA730;
    border: 1px solid #6BA730;
    color: white;
}
.btn.btn-primary:hover,
.btn.btn-primary:active,
.btn.btn-primary:focus {
    background: #6BA730;
    border-color: #6BA730;
}

.btn.btn-lg {
    border-radius: 25px;
}


.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}

.clearfix {
    clear:both;
}

a {
    color: #6BA730;
}
a:hover,
a:active,
a:focus {
    color: #6BA730;
    text-decoration: underline;
}

input.form-control,
textarea.form-control {
    background: #F6F6F6;
}
    input.form-control:focus,
    textarea.form-control:focus {
        background: #FFF;
        border-color: #CCC;
        outline: 0;
        box-shadow: none;
    }

.error-well {
    margin: 0 -30px;
    max-height: 0;
    transition: all ease-in-out 300ms;
    overflow: hidden;
    background: #FFEEEE;
    color: red;
    text-align: center;
    padding: 0 30px;
    opacity: 0;
}
    .form-error .error-well {
        margin-bottom: 30px;
        padding: 10px 30px;
        max-height: 100px;
        opacity: 1;
    }

.success-well {
    margin: 0 -30px;
    max-height: 0;
    transition: all ease-in-out 300ms;
    overflow: hidden;
    background: #EEFFEE;
    color: #6BA730;
    text-align: center;
    padding: 0 30px;
    opacity: 0;
}
    .form-success .success-well {
        margin-bottom: 30px;
        padding: 10px 30px;
        max-height: 100px;
        opacity: 1;
    }

/********************************************************************
 * 
 *  SWITCH BUTTON
 * 
 *******************************************************************/

.switch-button {
    width: 40px;
    height: 20px;
    border-radius: 10px;
    background: #EFF4EA;
    transition: all ease-in-out 300ms;
    position: relative;
    box-shadow: 0px 2px 4px rgba(107, 167, 48, 0.1) inset;
    cursor: pointer;
    display: inline-block;
    border: 1px solid #C0DBA5;
}
    .switch-button.on {
        background: #6ba730;
        border-color: #6ba730;
    }
    .switch-button .thumb {
        position: absolute;
        width: 20px;
        height: 20px;
        border-radius: 10px;
        background: white;
        top: -1px;
        left: -1px;
        transition: all ease-in-out 300ms;
        border: 1px solid #C0DBA5;
    }
        .switch-button.on .thumb {
            left: 20px;
            border-color: #6ba730;
        }


/********************************************************************
 * 
 *  SLIDER
 * 
 *******************************************************************/


.slider-outer {
    background: #F6F6F6;
    padding: 30px 30px 60px 30px;
}

    .slider-outer strong {
        margin-bottom: 20px;
        display: block;
        font-weight: 200;
        text-align: center;
    }

.ui-slider {
    height: 10px;
    border-radius: 5px;
    background: #6BA730;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) inset;
    border: none;
}
    .ui-slider .ui-slider-handle {
        background: #FFF;
        cursor: pointer;
        cursor: ew-resize;
        border: none;
        top: -5px;
        margin-left: -10px;
        width: 20px;
        height: 20px;
        border-radius: 10px;
        outline: none;
        box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
    }
    .ui-slider .ui-slider-handle.ui-state-active {
        background: #6BA730;
    }
    .ui-slider .ui-slider-handle:before,
    .ui-slider .ui-slider-handle:after {
        content: ' ';
        background: #EEE;
        position: absolute;
        width: 2px;
        border-radius: 2px;
        height: 12px;
        top: 4px;
        left: 50%;
        margin-left: -4px;
    }
    .ui-slider .ui-slider-handle:after {
        margin-left: 2px;
    }

        .ui-slider .ui-slider-handle .count-obj {
            text-align: center;
            width: 120px;
            color: #FFF;
            font-weight: 200;
            position: relative;
            top: 30px;
            left: -50px;
            display: inline-block;
            background: #6BA730;
            border-radius: 20px;
            padding: 2px 5px;
            box-shadow: 0 1px 2px rgba(0,0,0,0.1);
            font-size: 12px;
        }
            .ui-slider .ui-slider-handle .count-obj:after {
                bottom: 100%;
                left: 50%;
                border: solid transparent;
                content: " ";
                height: 0;
                width: 0;
                position: absolute;
                pointer-events: none;
                border-color: rgba(136, 183, 213, 0);
                border-bottom-color: #6BA730;
                border-width: 6px;
                margin-left: -6px;
            }
            .ui-slider .ui-slider-handle .count-obj .value {
                margin-right: 5px;
            }