a{
    color: #000;
}

#settings{

    -moz-box-shadow: 0 1px 50px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 1px 50px rgba(0,0,0,0.5);
    box-shadow: 0 1px 50px rgba(0,0,0,0.5);


    display: none;
    position: fixed;
    width: 800px;
    max-height: 500px;
    background: #fff;
    z-index: 99999999999;
    left: 50%;
    top: 50%;
    margin-left: -400px;
    margin-top: -300px;
    overflow-y: auto;

    /*color: #000;*/
}

#settings h2{
    color: #000;
    font-size: 20px;
    margin: 0 0 20px 0;
}
#settings h3{
    color: #000;
    font-size: 16px;
}

#settings p{
    color: #000;
    /*margin: 0 0 10px 0;*/
}

#settings button.opt-link{
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
    background: none;
    background-color: transparent;
    text-decoration: underline;
}


#settings .content{

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    display: none;
    position: relative;
    width: 100%;
    height: auto;
    float: left;
}

#settings .content .section{

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    display: block;
    position: relative;
    background: #fff;

    border-bottom: 2px solid #ccc;



    width: 100%;
    height: auto;
    float: left;
    padding: 20px;
    margin: 0 0 0 0;
}

#settings .content .section .full{
    width: 100%;
}

#settings .content .section .head-left{
    display: block;
    position: relative;
    float: left;
    width: 50%;
    height: auto;
}
#settings .content .section .head-right{
    display: block;
    position: relative;
    float: left;
    width: 50%;
    height: 30px;
}


#settings .content .section a.close{
    display: block;
    position: relative;
    float: right;
    width: 31px;
    height: 31px;
    background: #86b730;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
}
#settings .content .section a.close span:before{
    margin: -4px 0 0 5px;
    padding: 0;
}

#settings .content .section a.close:hover{
    display: block;
    position: relative;
    float: right;
    width: 31px;
    height: 31px;
    background: yellowgreen;
    font-size: 22px;
}


#settings .content .section ul{

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    display: block;
    position: relative;
}

#settings .content .section ul li{

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    display: block;
    position: relative;
    background: #fff;
    width: 33%;
    height: auto;
    float: left;
    /*padding: 10px;*/
    margin: 0 0.5% 0 0;
    border: 1px solid #ddd;

    cursor: pointer;

}

#settings .content .section ul li a.li{

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    display: block;
    position: relative;


    width: 100%;
    height: 100%;

    cursor: pointer;
    background: rgba(154, 205, 50, 0.61);

}

#settings .content .section ul li:last-child{
    margin: 0;
}

#settings .content .section ul li .head{

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    display: block;
    position: relative;
    width: 100%;
    height: 40px;
    float: left;

    padding: 20px 10px 10px 10px;
}

#settings .content .section ul li .head .title{

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    display: block;
    position: relative;
    width: auto;
    float: left;
}

#settings .content .section ul li .head .checkbox{

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    display: block;
    position: relative;
    width: 24px;
    height: 24px;
    float: right;
    border: 2px solid #ccc;
    cursor: pointer;
}

#settings .content .section ul li .head .checkbox .ico{
    display: none;
}

#settings .content .section ul li.active .head .checkbox{
    border: 2px solid yellowgreen;
}

#settings .content .section ul li.active .head .checkbox .ico{
    display: block;
    color: yellowgreen;
}


#settings .content .section ul li .text{

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    display: block;
    position: relative;
    width: 100%;
    height: 100px;
    float: left;

    padding: 10px;

    font-size: 13px;
}


#settings .content a.button{

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    display: block;
    position: relative;
    width: auto;
    height: 40px;
    float: right;
    line-height: 40px;

    padding: 0 20px 0 20px;
    margin: 10px 0 0 0;

    background: #86b730;
    color: #fff;

    cursor: pointer;
}

#settings .content a.button:hover{
    background: yellowgreen;
    color: #fff;
}

#settings .content a.button.disabled{
    background: #ddd;
    color: #aaa;
    pointer-events: none;
}

#settings .content a.button.back,
#settings .content a.button.newsletter
{
    float: left;
    margin-right: 10px;
}

#settings .content a.button.left{
    float: left;
}

#settings form input{
    padding: 0 10px 0 10px;
    height: 30px;
    line-height: 30px;
    outline: none;
    border: 1px solid #ccc;
    margin: 0 0 0 0;
}
#settings form input.margin-top{
    margin-top: 20px;
}
#settings form input.margin-bottom{
    margin-bottom: 20px;
}

#alert-header{
    display: none;
    position: fixed;
    width: 100%;
    height: 64px;
    z-index: 9999999;
    left: 0;
    top: 0;
}

#alert-header .wrapper{
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    background: #1b3c6f;
}



@media screen and (max-width: 840px) {

    #settings{
        width: 600px;
        margin-left: -300px;
    }

    #settings .content .section ul li .text{
        height: 120px;
    }
}

@media screen and (max-width: 640px) {

    #settings{
        width: 400px;
        margin-left: -200px;
    }

    #settings .content .section ul li{
        width: 100%;
    }
}
