.lazy,
.a1000ms {
    -webkit-transition: all 1000ms ease;
    -moz-transition: all 1000ms ease;
    -ms-transition: all 1000ms ease;
    -o-transition: all 1000ms ease;
    transition: all 1000ms ease;
}

.lazy {
    opacity: 0;
}

.a500ms {
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.a300ms {
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}



@-moz-keyframes spin { 
    100% { 
        -moz-transform:rotate(360deg); 
    }
}
@-webkit-keyframes spin { 
    100% { 
        -webkit-transform:rotate(360deg); 
    }
}
@keyframes spin {
    100% {
        -webkit-transform:rotate(360deg);
        transform:rotate(360deg);
    }
}
/*
light bg:
#9c89c0;
*/
html, body {
    font-family: Roboto,Arial,Helvetica,sans-serif;
    font-size: 16px;
    margin:0;
    max-width:100%;
    padding:0;
    text-align: left;

    min-height: 100%;
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}


body:not(.phone) {
}


body.phone {

}

pre {
    text-align: left;
}
div {
    box-sizing: border-box;
    display: inline-block;
}

a {
    color: rgb(59, 89, 152);
}
section {
    box-sizing: border-box;
    display: inline-block;
}

.bottom_js{
    display: none;
}

.e404 {
    margin-top: 20%;
    font: bold 70px arial;
    color: #afa0fe;
    max-width: 60%;
    float: left;
    display: inline-block;
}

a {
    text-decoration: none;
    display: inline-block;
}

main {
    display: inline-block;
    min-height:calc( 100% - 80px);
    min-width: 100%;
    padding: 0px;
    text-align: center;
    margin: 100px 0 0 0;
    max-width: 100%;
}

.fbbg {
    background-color: #3b5998 !important;
}
.twitterbg, .twbg {
    background-color: #00acee !important;
}

.gpbg {
    background-color: #bb0e0e !important;
}

.s_ {
    width: 100%;
}


.fa, .fa:before {
    display: inline-block;
}


h1 {
    color: black;
    font: bold 40px Open Sans;
    text-transform: capitalize;
    margin: 0;
    text-align: left;

    max-width: 100% !important;
    box-sizing: border-box;
}#mask {
    display: none;
    background: black;
    opacity: 0.5;
    position: fixed; left: 0; top: 0; 
    width: 100%; height: 100%;
    z-index: 990;
}

.w_button {

}nav {

}

header {
    position: absolute;
    right: 0;
    top:0;
    height: 100px;
    background: white;   
    z-index: 998;
    font:bold 14px open sans;
    box-sizing: border-box;
    width: 100%;
    box-shadow:inset 0 -2px 2px rgba(0,0,0,0.15);
    background: url(/images/hbg.jpg);
    background-size: 100% auto;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.phone header {
    background-size: auto 100%;
    height: 80px;
}




header .logo {
    font: bold italic 24px open sans;
    color: white;
    position: absolute;
    top: 0px;
    left: 0px;
    background: rgba(0,0,0,0.75);
    width: 225px;
    height: 100%;
    cursor: pointer;
    font: 30px open sans;
    padding:15px 0 0 20px;
    background: url(/images/p1.png);
    background-repeat: no-repeat;

}

header .logo img {
    width: 125px;
    height: auto;
    left: 30px;
    top:0;
    z-index: 2;
    position: absolute;
}

footer {
    overflow: hidden;
}


header div {
    display: inline-block;
}


.generalnav {
    height: 60px !important;
}
.generalnav header .item a {
    padding-top: 21px !important;
    color: #7d75c4 !important;
}

.generalnav header .item:hover  {
    background: #7d75c4 !important;
}


header nav {
    position: absolute;
    top: 10px;
    right: 150px;
    height: 50px;
    padding: 0;
}

header nav .item,
header nav .item a
{
    color: white;
    text-transform: capitalize;
    font: bold 14px open sans;
}
header nav .item .fa {
    font-size: 26px;
}
header nav .item {
    margin-left: 20px;
    float: right;
   
}









header .profile {
    display: inline-block;

    position: absolute;
    top:10px;
    right:10px;
    text-align: center;
    cursor: pointer;
}
header .profile .photo {
    width: 70px;
    height: 70px;
    border-radius: 50px;
    background: white;
    display: inline-block;  
    border: 3px solid rgba(255,255,255,1);
}


header .profile .label {
    font: bold 14px arial;
    color: white;
    text-shadow: -1px 2px 0px rgba(0,0,0,0.6);
    text-transform: capitalize;
    margin-right: 20px;
}





/*.toploc {
    width: 100%;
    height: 20px;
    list-style: none;
    margin-top: 102px;
    background: #756bab;
}*/footer {
    display: inline-block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    background:transparent;
    position: relative;

    background: #756bab;
    color: white;
    text-align: left;
    font-size: 14px;
    padding:  0 0 5px 20px;
    float: left;
}

footer a {
    color: white;
    text-decoration: underline;
}

footer .menu {
    margin: 0 0 20px 0;
}

footer .menu .col {
    height: 30px;
    float: left;
}

footer .menuitem {
    margin: 10px 0 0 20px;
}

footer .bline {
    font-size: 12px;
    opacity: 0.5;
    width: 100%;
}

footer .menu .cube {
    display: inline-block;
    float: left;
    text-align: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.75);
    color:#756bab;
    font-size: 24px;
    margin-right: 15px;
    border-radius: 3px;
}
footer .menu .cube:hover {
    background: #756bab;
    color: white !important;
}


footer .menu .cube .fa{
    margin: 6px;
}

footer .logo {
    font:20px open sans;
}

footer .b_up {
    position: absolute;
    right: 20px;
    background: rgba(255,255,255,0.5);
    color: #756bab;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 50%;
    top: 18px;
    font-size: 26px;
    padding-top: 7px;
    box-sizing: border-box;
    cursor: pointer;
}

footer .b_up:hover {
    background: white;
}

footer a.studio {
    position: absolute;
    top:18px;
    right:100px;
}

footer a.studio img{
    opacity: 0.65;
    width: 60px;
    height: 60px;
}
.form.site_search {
    width: 600px;
    margin: auto;
    white-space: nowrap;
    height: 40px;
    position: relative;
    border-radius:3px;
    overflow: hidden;
    background: none;
}
.phone .form.site_search {
    width: calc(100% - 40px);
    left:0px;
    top: 75px;
    margin: 0;
    float: left;
    margin: 10px 20px 10px 20px;
}
header .form.site_search {
    width: 40%; 
    position: absolute;
    top: 50px;
    left: 250px;
}


.form.site_search div {
    float: left;
    max-width: none;
    width: 100%;
}
.form.site_search input {
    border: 1px solid #807c9b;
    min-width: 200px;
    max-width: none !important;
    width: 100%;
    padding: 5px 0 5px 40px;
    border-radius:3px;
    font: 20px open sans;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
    background: white;
}

.form.site_search .submit{
    height: 40px;
    width: 40px;
    cursor: pointer;
    border: 0;
    color: #756bab;
    position: absolute;
    left: 10px;
    top: 10px;
    background: none;
    opacity: 0.5;
}
.form.site_search:hover .submit{
    opacity: 1;
}

.form.site_search .fa-search{
    font-size: 20px;
}
.WAPP_dlg {
    min-width: 400px;
    min-height: 220px;

    box-sizing: border-box;
    position: fixed;
    z-index: 999;

    box-shadow: 5px 10px 25px rgba(0,0,0,0.5);
    background: white; 

    padding: 10px 10px 10px 10px;
    text-align: left;

    display: none;
    opacity: 1;

    font: 14px roboto;
    overflow: hidden;
    color: white;
    background: #afa0fe;

    max-width: 500px;
}


.WAPP_dlg img.logo {
    position: absolute;
    left: -74px;
    bottom: -25px;
    width: 200px;
    height: auto;
}



.WAPP_dlg div {
    display: inline-block;
}
.WAPP_dlg a {
    color: white;
}
.WAPP_dlg .title {
    position: absolute;
    left: 0px;
    top: 0px;
    max-width: 100%;
    font:16px roboto;
    color: white;
    z-index: 10;
    min-height: 30px;
    padding: 10px;
}


.WAPP_dlg .msg {
    position: absolute;
    left:20px;
    right: 20px;
    top:50px;
    font:16px roboto, arial;
    line-height: 18px;
    margin: 0; 
    text-align: center;
}
.WAPP_dlg .msg textarea {
    border:none;
    background: none;
    width:100%;
    min-height: 50px;
}
.WAPP_dlg .msg p {
    max-width: 175px;
}

.WAPP_dlg .close {
    position: absolute;
    right: 8px;
    top: 5px;
    font: bold 14px arial;
    cursor: pointer;
    z-index: 102;
}
.WAPP_dlg form {
    display: inline-block;
    width: 100%;
    margin: 20px 0 20px 0;
}


.WAPP_dlg .button_bar .button {
    display: inline-block;
    width: 100%;  
    box-sizing: border-box;
    max-width: 100%;
    margin: 0;
    text-align: center;
    cursor: pointer;
    text-shadow: none;
    font:16px roboto;
    background: white;
    color: #756bab;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 12px;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
}

.WAPP_dlg .button_bar .button:hover {
    background: #756bab;
    color: white;
}


.WAPP_dlg .button_bar .button:last-of-type {
    border-bottom: none;
}



.WAPP_dlg .button_bar {  
    border-top: 1px solid rgba(255,255,255,0.15);
    position: absolute;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    bottom: 0;
    left: 0;
    display: inline-block;
}



