
body{
    font-family: "Open Sans",sans-serif;
    margin: 0;
    font-size: 15px !important;
    line-height: 1.8 !important;
}
#loadingHider{
    position: fixed;
    width: 75vw;
    height: 0vh;
    z-index: 1000;
    transition: 1s ease;
    top: 0;
    right: 0;
    background: linear-gradient(to top, #212024, #312f38);
    overflow: hidden;
}
#loadingHider img{
    margin: 35vh auto;
    display: block;
    max-width: 260px;
}
#loadingHider p{
    text-align: center;
    color: white;
}
#loadingHider i{
    font-size: 2em;
}

#updateScreen{
    position: fixed;
    width: 75vw;
    height: 0vh;
    z-index: 1000;
    transition: 1s ease;
    top: 0;
    right: 0;
    background: linear-gradient(to top, #212024, #312f38);
    overflow: hidden;
}
#updateScreen img{
    margin: 24vh auto 5vh;
    display: block;
    max-width: 260px;
}
#updateScreen .minimize i{
    font-size: 25px;
}
#updateScreen .minimize #updateScreenMinimize{
    position: absolute;
    top: 0;
    right: 0;
    padding: 2em;
    color: white;
}
.progress-container{
    padding: 1em;
    margin: 0 auto;
    width: 80%;
}
body .button{
    font-stretch: normal !important;
}
.progress-container label
{
    display: block;
    text-align: center;
    color: white;
    font-weight: bold;
    padding: 1em 0;
}

.progress-container progress{
    width: 100%;
    height: 15px;
    display: inline-block;
}
#syncProgressValue{
    position: absolute;
    margin: -10px 0 0 10px;
    color: white;
    font-weight: bold;
}
#updateScreen .success-message{
    display: none;
    text-align: center;
    color: white;
    font-weight: bold;
    padding: 1em;
}
#updateScreen .update-actions{
    display: none;
    text-align: center;
    color: white;
    font-weight: bold;
}
#updateScreen.end .success-message{
    display: block;
}
#updateScreen.end .update-actions{
    display: block;
}
#updateScreen.end .progress-container{
    display: none;
}

a{
    color: #66ad4c;
}
a:hover{
    color: #424753;
}

.button{
    color: white;
    font-weight: bold;
}

#g-intro.lugat-container,
.lugat-container .g-content{
    padding: 0px !important;
    margin: 0px !important;
}
.header-empty .lugat-container{
    background-size: 200%;
    background-position: 200%;
    animation-duration: 6s;
    animation-timing-function: all;
    animation-name: backgroundMove;
    animation-iteration-count: infinite;
}

@keyframes backgroundMove {
  from { background-position-x: 100%;   }
  50%  { background-position-x: 0%;  }
  to   { background-position-x: 100%;   }
}
#tabs {
    margin: 0px;
    margin-top: 0.5em;
    display: flex;
    grid-template-columns: 0.1fr 0.1fr 0.1fr;
}
a {cursor:pointer;}


.lugat-page-content label{
    display: block;
    font-weight: bold;
    margin: 0.5em 0;
}

.lugat{
    background-color: #f4f5f7;
}

.lugat-container .lugat-page{
    margin-left: 0;
    transition: 0.3s ease-out;
    min-height: 100vh;
    transform: translateX(0%);
    background-color: #f7f7f7;
    padding-bottom: 5em;
}

.sidebar-opened .lugat-container .lugat-page{
    max-height: 100vh;
    padding-left: 26%;
    overflow: hidden;
}
#pageLugatC{
    max-height: 100vh;
}
.active-autocomplete #pageLugatC{
    overflow: hidden;
}
.header-empty #pageLugatC{
    max-height: 100%;
    overflow: auto;
}
.header-empty #pageLugatC,
.header-empty .head-empty{
    background: transparent !important;
    box-shadow: none !important;
}

.lugat-page h2,
.lugat-page h4{
    margin: 0;
    line-height: 78px;
}
.lugat-page .lugat-page-header{
    padding: 0 30px !important;
    border: 1px solid lightgray;
    background-color: white;
    margin: 0 !important;
    border-radius: 0 0 5px 5px;
}
.lugat-page .lugat-page-content{
    padding: 1em 2em;
    /*height: 100%;*/
    /* overflow-y: scroll; */
}
.lugat-page .lugat-page-container{
    height: 100vh;
    background-color: #f7f7f7;
    overflow-y: auto;
}

#tabs li {
    float:left; 
    list-style:none; 
    outline:none;
    text-align: center;
}

#tabs{
    position: inherit;
    width: 100%;
    margin: 0 auto !important;
    background-color: white;
    border-radius: 50px;
    grid-column-gap: 25px;
    padding: 0px !important;
    transition: 0.5s all;
    margin-top: 0.3em  !important;
}

#tabs li a{
    border: none;
    box-shadow: none;
    margin: 0 !important;
    font-weight: bold;
    color: gray;
    background-color: initial !important;
    box-shadow: none !important;
    border-bottom: 2px solid white;
    text-transform: capitalize !important;
    display: block;
}
#tabs li a:not(.inactive){
    background-color: white;
    color: #45822f;
    border-bottom: 2px solid green;
}
#tabs li a.hidden{
    background-color: initial !important;
    cursor: pointer;
    visibility: visible !important;
}

#tab1.inactive{
    border-top-right-radius: 0px;
}

#tab2.inactive{
    border-top-left-radius: 0px;
}

.container .lugat-subcontainer{
    padding: 1em 1em;
    border: 1px solid #ccc;
    background-color: #ffffff;
    position: relative;
    border-radius: 5px;
}
.result-header {
    padding: 1em 1em 0;
    border: 1px solid #ccc;
    background-color: #ffffff;
    border-radius: 0 0 5px 5px;
    transition: 0.5s all !important; 
    position: fixed;
    top: 95px;
    z-index: 300;
    width: calc(74% - 1em);
}
.result-header #translation_header {
    
}

#lugat-body .result-header .attribute-block{
    display: none;
}
#lugat-body .result-header .variant-block{
    font-size: 13px;
    font-weight: bold;
    color: rgb(115, 115, 115);
    margin-top: 9px;
}
#lugat-body .result-header .variant-block b{
    color: #45822f;
    margin: 0 5px;
}
#lugat-body .query-word-transcription{
}
#lugat-body .result-header .attribute-block span.referent-details.tag{
}
.header-sticky #lugat-head{
    /* top: -80px; */
}
.sticky #lugat-body .result-header{
    /* top: 0px; */
    /* padding-top: 10px !important; */
}
.header-sticky #lugat-body .result-header{
    /* top: 0px; */
    /* padding-top: 10px !important; */
}
.sticky #lugat-body .query-word{
    /*line-height: initial !important;*/
}
/*
.sticky #lugat-body .result-header .attribute-block{
    line-height: 0 !important;
    opacity: 0 !important;
}
.sticky #lugat-body .query-word-transcription{
    line-height: 0 !important;
    opacity: 0 !important;
}
.sticky #lugat-body .result-header .attribute-block span.referent-details.tag{
    padding: 0 10px !important;
    margin: 0px !important;
    height: 0px !important;
}*/
.sticky #lugat-body#tabs{
    position: relative;
} 
.sticky .container{
    padding-top: 90px !important;
}
.container{
    border-radius: 0px 5px 5px 5px;
    height: 95vh;
    
    padding: 15.5em  1em 5em !important;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.container h2 { 
    margin-left: 15px;  
    margin-right: 15px;  
    margin-bottom: 10px; 
    color: #5685bc; 
}

.container p { 
    margin-left: 15px; 
    margin-right: 15px;  
    margin-top: 10px; 
    margin-bottom: 10px; 
    line-height: 1.3; 
    font-size: small; 
}

.container ul { 
    margin-left: 25px; 
    font-size: small; 
    line-height: 1.4; 
    list-style-type: disc; 
}

.container li { 
    padding-bottom: 5px; 
    margin-left: 5px;
}

.container .translation-container,
.container .morphology-container,
.container .examples-container{
    margin-bottom: 4em !important;
}

#lugat-body .loading-screen{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f2f2f230;
    z-index: 0;
}
#lugat-body.loading .loading-screen{
    display: block !important;
}
#lugat-body .loading-screen .fa-spinner{
    position: absolute;
    left: 48%;
    top: 48%;
    font-size: 2em;
    color: #67da2c;
}
.lugat-subtitle{
    font-size: 15px;
    font-weight: lighter;
}

.lugat-container .g-container{
    width: 100% !important;
}
.lugat-header-description{
    display: none;
}


#lugat-head.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  box-shadow: 0px 2px 5px #595959;
  z-index: 1;
}

#lugat-head.sticky + #lugat-body {
  padding-top: 50px;
}

.lugat-head-block{
    width: 90%;
    margin: 0 auto;
    height: 90px;
}

#lugat-head.head-empty .lugat-head-block{
    height: auto;
}
#lugat-body{
    padding: 1em 0;
    width: 98%;
    display: inline-block;
    position: relative;
}
#lugat-head{
    background-color: #312f38;
    display: grid;
    min-height: 70px;
    top: 0;
    position: fixed;
    width: calc(74% - 1em);
    z-index: 400;
    transition: 0.5s all !important;
    border-radius: 5px 5px 0 0;
    margin-top: 0.5em;
}

#lugat-head.head-empty {
    box-shadow: 1px 1px 10px transparent;
    padding-bottom: 4em;
    min-height: 100vh;
}
body.header-empty .lugat-container{
    background-image: linear-gradient(115deg, #3bc559, #5dc53b, #2c8a21);
}
body.lugat-background-basic-green.header-empty .lugat-container{
    background-image: linear-gradient(to right, #91e359, #20c1b2)
}
body.lugat-background-green.header-empty .lugat-container{
    background-image: linear-gradient(to right, #cbdb50, #05a003);
}
body.lugat-background-ocean-blue.header-empty .lugat-container{
    background-image: linear-gradient(to right, #45ccce, #2e3292);
}
body.lugat-background-sanguine.header-empty .lugat-container{
    background-image: linear-gradient(to right, #faac3c, #d51859);
}
body.lugat-background-lime.header-empty .lugat-container{
    background-image: linear-gradient(to right, #d2d742, #0a9543);
}
body.lugat-background-purple.header-empty .lugat-container{
    background-image: linear-gradient(to right, #ea1e79, #6a2c8b);
}
body.lugat-background-papaya.header-empty .lugat-container{
    background-image: linear-gradient(to right, #ffbb1b, #ee2324);
}
body.lugat-background-ultramarine.header-empty .lugat-container{
    background-image: linear-gradient(to right, #d4e873, #03a9c4);
}
body.lugat-background-pink.header-empty .lugat-container{
    background-image: linear-gradient(to right, #fdbb65, #d84678);
}
body.lugat-background-lemon.header-empty .lugat-container{
    background-image: linear-gradient(to right, #9fec16, #fba02b)
}
body.lugat-background-mystic-blue.header-empty .lugat-container{
    background-image: linear-gradient(to right, #66ddff, #ae6afe);
}
body.lugat-background-forest-blue.header-empty .lugat-container{
    background-image: linear-gradient(to right, #389e7e, #10697e);
}
body.lugat-background-silk.header-empty .lugat-container{
    background-image: linear-gradient(to right, #fdb186, #fe5947);
}
body.lugat-background-mystic-pink.header-empty .lugat-container{
    background-image: linear-gradient(to right, #fc7d7c, #ab79db);
}
.lugat-head-search-block{
    position: relative;
    margin: -1px 0px;
    transition: 0.5s ease;
}
#lugat-head.head-empty .lugat-head-search-block{
    margin: 20vh 0 2em;
}

.header-empty.active-autocomplete .lugat-head-search-block{
    margin: 0 !important; 
}
.active-autocomplete.header-empty .lugat-header-title{
    font-size: 0px !important;
}
.lugat-header-title{
    width: 100%;
    text-align: center;
    color: white;
    display: none;
}
#lugat-head.head-empty .lugat-header-title{
    display: block;
}
.lugat-header-title h2{
    transition: 1s ease;
    margin: 0;
    font-size: 0em;
}
#lugat-head.head-empty .lugat-header-title h2{
    font-size: 2em;
    line-height: 1.2em;
    padding: 0 10px;
}

.lugat-search-history-title{
    text-align: center;
    color: white;
    display: none;
    margin: 1em auto;
    border-bottom: 1px solid white;
    width: max-content;
    padding: 0 2em;
}
.lugat-search-history-title h2{
    font-size: 2em;
    line-height: 1.2em;
}
#lugat-head.head-empty .lugat-search-history-title{
    display: block;
}
#lugat-head.head-empty .lugat-search-history-title h2{
    
}

.lugat-header-search-history{
    display: none;
    margin: 0 auto;
    transition: 1s ease;
}

#lugat-head.head-empty .lugat-header-search-history{
    display: block;
    opacity: 1;
    padding: 0 2em;
    width: 80%;
}

.lugat-header-search-history .tag-list{
    margin: 0;
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
}

.lugat-header-search-history .tag-list .search-tag{
    display: inline-block;
    margin: 0.5em;
    background-color: #fff;
    border-radius: 5px;
    color: #3b821c;
    font-weight: bold;
    cursor: pointer;
    font-size: 13px;
    box-shadow: 1px 1px 5px #0000002e;
    transition: 0.5s ease;
    overflow: hidden;
}

.lugat-header-search-history .tag-list .search-tag:hover{
    box-shadow: 1px 1px 10px #000000a3;
}

.lugat-header-search-history .history-tag-word{
    display: block;
    border-bottom: 1px solid lightgray;
    padding: 0.5em 1em;
    box-shadow: 1px 1px 10px #0000002b;
}
.lugat-header-search-history .history-tag-word a{
    color: #413f46;
    font-size: 15px;
}
.lugat-header-search-history .history-tag-word:hover{
    background-color: #413f48;
}
.lugat-header-search-history .history-tag-word:hover a{
    color: #fff;
}
.lugat-header-search-history .history-tag-type{
    padding: 0.2em 1em;
    font-style: italic;
    font-weight: initial;
}
.lugat-header-search-history .referent-list{
    padding: 0 1em 1em;
}
.lugat-header-search-history .referent-list .referent-tag{
    display: inline-block;
    margin-right: 7px;
    color: #3a7b1c;
}
.lugat-header-search-history .referent-list .referent-tag:hover{
    color: #3a7b1c;
    text-decoration: underline;
}
.part-of-speech-name.sticky-pts{
    position: fixed;
    top: 85px;
    width: max-content;
    z-index: 100;
    padding: 0px 15px;
    background-color: white;
    border-radius: 5px;
    font-size: 14px;
    border: 1px solid lightgray;
    box-shadow: 1px 1px 15px -5px black;
}
#lugat-head.head-empty .lugat-header-description {
    display: inline-block;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 17px;
}

.advantages-grid{
    padding: 1em 0;
    display: grid;
    grid-template-columns: 31% 31% 31%;
    grid-column-gap: 2%;
}
.advantage-block {
    text-align: center;
    background-color: white;
    border: 1px solid lightgray;
    padding: 1em;
    margin-bottom: 3%;
}
.advantage-block{
    position: relative;
}


.advantage-text{
    margin-top: 1rem;
}
.advantage-description{
    color: slategray;
    font-size: 15px;
}
.advantage-title{
    color: #312f38;
    font-size: 18px;
}
.advantage-title span {
    color: #a4a4a4;
    font-size: 15px;
    white-space: nowrap;
}
/*-----------------------*/


#lugat-body-not-found{
    background-image: url('/modules/mod_lugat/images/not_found.jpg');
    min-height: max-content;
    background-size: cover;
    background-position-x: 60%;
}

.notfound-message{
    padding: 2em;
    background-color: white;
    margin: 2em;
    border: 1px solid lightgray;
}
.notfound-title{
    font-size: 19px;
    font-weight: bold;
}
.notfound-description span{
    color: #312f38;
}
.notfound-description .input-value{
    font-weight: bold;
}
.notfound-title span{
   color: #312f38;
}
.notfound-title .input-value{
    font-weight: bold;
}
.notfound-title .notfound-adding-suggest{
   margin-top: 10px;
}

.notfound-message .notfound-adding-suggest{
   margin-top: 10px;
}
.notfound-message .add-word-block{
    width: auto;
}
.notfound-message .add-word-block #add-word-group{
    width: inherit !important;
}
.notfound-no-db{
    border: 1px solid #f9bbbb;
    padding: 0.5em;
    border-radius: 5px;
    background-color: #fbe7e7;
}

.notfound-no-db i{
    color: #d02f2f;
    display: block;
    text-align: center;
    font-size: 23px;
}

.add-word-block #add-word-group .button{
    display: inline-block;
    padding: 0 12px !important;
    margin: 0px;
    width: auto !important;
}

.add-word-block #special-symbols{
    width: 90% !important;
    display: grid !important;
    height: 88px;
    grid-template-columns: 25% 25% 25% 25% !important;
    z-index: 100;
}
/*=======ERROR REPORT===================*/

#pageFoundAnErrorC .success-message{
    margin: 1em 0;
    background-color: white;
    padding: 1em;
    border: 1px solid lightgray;
    border-radius: 5px;
    width: max-content;
}
#pageFoundAnErrorC .success-message p{
    padding: 0.5em 0;
    margin: 0.5em 0;
}
#pageFoundAnErrorC .input-group{
    
}


#pageFoundAnErrorC .input-group input,
#pageFoundAnErrorC .input-group textarea
{
    
}

#pageFoundAnErrorC .input-group input{
    border: none;
    border-bottom: 1px solid #5ec73a;
    width: 100%;
    background-color: transparent;
    height: 40px;
    font-size: 16px;
    margin-bottom: 1em;
}
#pageFoundAnErrorC .input-group input:focus{
    box-shadow: none;
    border-bottom: 1px solid #9af06f !important;
}

#pageFoundAnErrorC .input-group textarea{
    border-radius: 5px;
    border: 1px solid #65d62f;
    margin-bottom: 1em;
    width: 100%;
    padding: 0.3em 0.7em;
}

#pageFoundAnErrorC .input-group textarea:focus{
    box-shadow: 1px 1px 5px #0000002e;
}
#pageFoundAnErrorC .input-group button{
    
}
/*=======DOWNLOAD DATABASE============*/


.sync-header{
    position: relative;
    border-bottom: 1px solid lightgray;
}

.sync-container{
    position: relative;
    padding: 0 0 2em;
}
.sync-container table, 
.sync-container th, 
.sync-container td{
    border: 1px solid lightgray;
}
.sync-container td{
    padding: 10px;
    width: 50%;
    font-size: 14px;
}
.sync-container table{
    padding-top: 1em;
    width: 60%;
    background-color: white;
}
.sync-container table tr td:first-child{
    background-color: #f4f4f4;
    font-weight: bold;
}
.sync-container table tr td .label{
    position: relative;
    /* font-size: 14px; */
}

#deleteLocalDb{
    background: linear-gradient(to right, #dd2828 0%, #f43838) !important;
    display: block;
    margin: 1em 0;
}
.sync-container table tr {
    border: none !im;
}
.sync-update-block h2, .sync-update-block h4{
    margin: 0 !important;
    font-weight: bold;
    line-height: 2em;
    font-size: 19px;
}
.sync-update-block button{
    margin: 0.5em 0;
}

.sync-container  .update-info{
    margin: 0em 0 1em;
    font-size: 16px;
    font-weight: bold;
    color: #2e8012;
}

.sync-container table tr .label-{
    font-weight: bold;
    display: inline-block;
    position: relative;
}
.sync-container table tr .label .label-description{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid lightgray;
    box-shadow: 1px 1px 5px #0000004d;
    z-index: 300;
    width: max-content;
    padding: 5px 10px;
    font-weight: normal;
    border-radius: 0px 5px 10px 5px;
    font-size: 14px;
}
.sync-container table tr .label.question{
    color: #1ea3ce;
    float: right;
    position: relative;
}

.sync-container .sync-info .sync-info-block .label.question:hover{
    color: #686868;
}
.sync-container .sync-info .sync-info-block .label.question .label-description{
    width: 30vw;
    left: auto;
    right: 0;
    border-radius: 5px 0px 5px 10px;
}
.sync-container .sync-info .sync-info-block .label:hover  .label-description{
    display: block;
}
.sync-container .sync-info .sync-info-block p{
    display: inline-block;
    margin: 0 !important;
}
.sync-no-update-available{
    background-color: #dff7df;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: left;
    border: 1px solid #76c776;
}
.sync-container .sync-no-update-available h4{
    font-size: 16px;
    margin: 10px 0;
    color: #207d09;
    line-height: 1em;
}
.sync-container .sync-no-update-available p{
    font-size: 14px;
    margin: 10px 0;
}
.sync-info i{
    font-size: 20px;
}
.sync-container .sync-update-block{
    padding: 1em 0;
    border-top: 1px dashed lightgray;
}

.sync-container .sync-message{
    border: 1px solid #c44a4a;
    border-radius: 10px;
    padding: 1em;
    background-color: #fddddd;
}
.sync-container .sync-message h4{
    font-size: 15px;
    line-height: 2em;
}
.sync-container .sync-message p{
    margin: 0;
}
#startSync{
    
}
#startSync.disabled{
    background: gray !important;
}
#startSync.disabled:hover{
    box-shadow: none !important;
}
.open-sidebar-button{
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    padding: 12px;
    color: white;
    display: block;
    z-index: 300;
    transition: 0.5s all;
    opacity: 1;
    text-shadow: 1px 1px 5px #00000026;
}
.open-sidebar-button:hover{
    color: #3b821c !important;
}
.sidebar-opened .open-sidebar-button{
}
.sidebar.opened{
    width: 30%;
}
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #312f38;
    overflow-x: hidden;
    transition: 0.5s;
    z-index: 1000;
}

.sidebar-header{
    padding: 1em;
    position: relative;
}
.sidebar-header img{
    width: 230px;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}
.sidebar-header a.closebtn{
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 47px;
    margin-left: 50px;
    display: none;
}
.sidebar .sidebar-container {
    padding: 0;
    transition: 0.5s;
}
.sidebar.opened .sidebar-container {
    padding: 0;
    transform: translateX(0%);
    opacity: 1;
    height: 100vh;
}

.sidebar a,
.sidebar i,
.sidebar-section-title{
    transition: 0.5s ease;
    color: #ececec;
    cursor: pointer;
}
.sidebar a{
    position: relative;
}
.options ul{
    margin: 0;
}
.language-switcher-wrapper h4{
    font-size: 16px;
    font-weight: initial;
    margin: 0 5px;
    line-height: 2em;
}
.system-languages {
    margin-bottom: 1em;
}
.lugat-page .drop-down::after {
    content: '\25BC';
    position: absolute;
    top: 0;
    right: 0;
    padding: 0px 1em;
    cursor: pointer;
    pointer-events: none;
    transition: .25s all ease;
    font-size: 13px;
    line-height: 40px;
    border-radius: 0px 5px 5px 0px;
    color: #45434a;
}
.lugat-page .drop-down:hover::after {
    color: #65d62f;
}
.lugat-page .selected{
    background-color: #fff;
    color: black;
    border-color: lightgray;
}
.lugat-page .drop-down{
    background-color: #fff;
    border: 1px solid lightgray;
    padding: 10px;
    height: 40px;
    margin: 0;
    border-radius: 5px;
    display: block;
    color: black;
}
.lugat-page .drop-down .options ul.ul-opened:before{
    content: '';
    position: absolute;
    top: -10px;
    width: 100%;
    height: 10px;
    background-color: white;
    left: 0;
    z-index: 300;
    border-bottom: 1px dashed #e6e6e6;
}
.drop-down .options ul{
    box-shadow: 0px 6px 10px #00000029;
}
.drop-down  .option:hover{
    color: white !important;
    border-radius: 5px;
    font-weight: bold;
}
.lugat-page .drop-down option{
    color: black;
}

#pageSettingsC h3, 
#pageThemeC h3{
    margin: 0.5em 0;
    font-weight: lighter;
    border-bottom: 1px solid gray;
}
#pageSettingsC h3:not(:first-child),
#pageThemeC h3:not(:first-child){
    margin-top: 1.5em;
}
.style-settings-block{
    
}
.style-settings-block span{
    margin: 0 5px;
}
.style-settings-block .color-blocks{
    
}
.style-settings-block .color-block{
    position: relative;
    width: 5em;
    height: 5em;
    display: inline-block;
    border-radius: 3em;
    margin: 0.3em;
    border: 3px solid white;
    box-shadow: 1px 1px 5px #0000007d;
    transition: 0.5s ease;
    cursor: pointer;
}

.style-settings-block .color-block i{
    display: none;
    position: absolute;
    padding: 5px;
    background-color: #59be4c;
    bottom: 0;
    color: white;
    right: 0;
    border-radius: 20px;
    border: 2px solid white;
}
.style-settings-block .color-block.green-block{
    background: linear-gradient(to right, #cbdb50, #05a003);
}
.style-settings-block .color-block.basic-green-block{
    background: linear-gradient(to right, #91e359, #20c1b2)
}
.style-settings-block .color-block.ocean-blue-block{
    background: linear-gradient(to right, #45ccce, #2e3292);
}
.style-settings-block .color-block.sanguine-block{
    background: linear-gradient(to right, #faac3c, #d51859);
}
.style-settings-block .color-block.lime-block{
    background: linear-gradient(to right, #d2d742, #0a9543);
}
.style-settings-block .color-block.purple-block{
    background: linear-gradient(to right, #ea1e79, #6a2c8b);
}
.style-settings-block .color-block.papaya-block{
    background: linear-gradient(to right, #ffbb1b, #ee2324);
}
.style-settings-block .color-block.ultramarine-block{
    background: linear-gradient(to right, #d4e873, #03a9c4);
}
.style-settings-block .color-block.pink-block{
    background: linear-gradient(to right, #fdbb65, #d84678);
}
.style-settings-block .color-block.lemon-block{
    background: linear-gradient(to right, #9fec16, #fba02b);
}
.style-settings-block .color-block.mystic-blue-block{
    background: linear-gradient(to right, #66ddff, #ae6afe);
}
.style-settings-block .color-block.forest-blue-block{
    background: linear-gradient(to right, #389e7e, #10697e);
}
.style-settings-block .color-block.silk-block{
    background: linear-gradient(to right, #fdb186, #fe5947);
}
.style-settings-block .color-block.mystic-pink-block{
    background: linear-gradient(to right, #fc7d7c, #ab79db);
}
.style-settings-block .color-block:hover{
    box-shadow: 1px 1px 8px #000000c7;
}
.style-settings-block .color-block.active i{
    display: block
}
.style-settings-block .color-block.active{
    box-shadow: 4px 4px 4px #2b2b2b57;
}
.style-settings-block .theme-blocks{
    
}
.style-settings-block .theme-blocks .theme-sample-block{
    display: inline-block;
    background-color: white;
    border-radius: 5px;
    margin-right: 0.5em;
    cursor: pointer;
    box-shadow: 1px 1px 5px #0000001c;
    overflow: hidden;
    position: relative;
}
.style-settings-block .theme-blocks .theme-sample-block i{
    display: none;
    position: absolute;
    padding: 5px;
    background-color: #59be4c;
    bottom: 0;
    color: white;
    right: 0;
    border-top-left-radius: 5px;;
}
.style-settings-block .theme-blocks .theme-sample-block:hover{
    box-shadow: 1px 1px 8px #0000003d;
}
.style-settings-block .theme-blocks .theme-sample-block.active{
    box-shadow: 4px 4px 4px #2b2b2b57;
}
.style-settings-block .theme-blocks .theme-sample-block.active i{
    display: block;
}
.style-settings-block .theme-title{
    background-color: #312f38;
    color: white;
    text-align: center;
    cursor: pointer;
}
.style-settings-block .theme-blocks .theme-sample{
    padding: 0.5em 1.2em 1em;
}
.style-settings-block .theme-blocks .theme-sample .theme-sample-title{
    font-weight: bold;
    border-bottom: 1px solid;
}
.style-settings-block .theme-blocks .theme-sample .theme-sample-content{
    font-size: 14px;
}

.style-settings-block .theme-sample-block.green-theme  .theme-sample-title{
    color: #45822f;
}
.style-settings-block .theme-sample-block.blue-theme  .theme-sample-title{
    color: #16799f;
}
.style-settings-block .theme-sample-block.red-theme  .theme-sample-title{
    color: #c41818;
}
.style-settings-block .theme-sample-block.orange-theme  .theme-sample-title{
    color: #f06834;
}
.style-settings-block .theme-sample-block.purple-theme  .theme-sample-title{
    color: #e63a73;
}
.style-settings-block .theme-sample-block.green-theme  .theme-sample-content{
    color: #5dad45;
}
.style-settings-block .theme-sample-block.blue-theme  .theme-sample-content{
    color: #23a6d9;
}
.style-settings-block .theme-sample-block.red-theme  .theme-sample-content{
    color: #d92323;
}
.style-settings-block .theme-sample-block.orange-theme  .theme-sample-content{
    color: #f78d27;
}
.style-settings-block .theme-sample-block.purple-theme  .theme-sample-content{
    color: #e848a6;
}
.sidebar a:hover {
    color: lightgray;
}
.sidebar .sidebar-section{
    font-size: 19px;
    padding: 0 1em;
}
.sidebar .sidebar-section:hover{
    background-color: #35333c;
}
.sidebar .sidebar-section.active-page{
    border-left: 4px solid #5dc53b;
    background-color: #45434a;
}
.sidebar .sidebar-section.active-page .sidebar-section-title i,
.sidebar .sidebar-section.active-page .sidebar-section-title a{
    color: white;
}
.sidebar .sidebar-section-title{
    padding: 12px 0;
    font-size: 15px;
    font-weight: 450;
}
.sidebar-section hr{
    margin: 0;
    color: lightgray;
}
.sidebar .sidebar-section-title a{
    margin-left: 15px;
}
.sidebar .sidebar-section-title i{
    font-size: 24px;
}
.sidebar .sidebar-section-title:hover i,
.sidebar .sidebar-section-title:hover a{
    color: #67c650;
}
.sidebar .sidebar-section-title:hover a{
    margin-left: 15px;
}
.sidebar-section-title a.notification:after{
    content: "";
    position: absolute;
    top: 7px;
    left: 100%;
    width: 12px;
    height: 12px;
    border-radius: 8px;
    background-color: #5bbd49;
    margin-left: 5px;
    border: 2px solid white;
}
.sidebar-section-title a.notification.notification-error:after{
    background-color: #ed3333;
}
.sidebar .sidebar-section-content{
    
}

.article-header {
    
}
.article-header .about-us-title{
    font-weight: bold;
    text-align: center;
    font-size: 25px;
}

.article-header .date-modified{
    font-style: italic;
    text-align: right;
}

.article-header .date-modified label{
    display: inline-block;
}

.article-header .date-modified .about-us-subinfo{
    display: inline-block;
}

.about-us-content{
    
}

.version-history-list{
    
}
.version-history-block{
    background-color: white;
    padding: 1em;
    border: 1px solid lightgray;
    border-radius: 5px;
    display: grid;
    grid-template-columns: 30% 70%;
    margin: 0.5em 0;
}
.version-history-block.opened{
    
}
.version-history-header{
    
}
.version-history-block .version-history-title{
    font-weight: bold;
    color: #348c34;
    font-size: 20px;
}
.version-history-block .version-history-content{
    overflow: hidden;
    max-height: 4em;
    position: relative;
}
.version-history-block .version-history-content:after{
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    z-index: 200;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, white, #fff0);
}
.version-history-block.opened .version-history-content{
    max-height: initial;
}
.version-history-block.opened .version-history-content:after{
    display: none;
}
.version-history-block .version-history-modified{
    
}
.version-history-block .version-history-content ul{
    margin-top: 0;
    margin-bottom: 0;
}
.version-history-block .version-history-content ul li{
    font-style: italic;
}
.version-history-button{
    
}
#pageHowToInstallC .slide-block{
}
#pageHowToInstallC h2{
    line-height: 3em;
}
#pageHowToInstallC .slide-block img {
    width: 80% !important;
    image-rendering: -webkit-optimize-contrast;
    box-shadow: 2px 2px 10px #00000073;
    max-width: 350px;
    margin: 0 auto;
    display: block;
}

#pageHowToInstallC .slide-block .text {
    font-size: 15px;
    width: 100%;
    margin: 0 auto;
}
#pageHowToInstallC .download-title{
    line-height: inherit;
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 12000;
    padding-top: 15vh;
    padding-bottom: 15vh;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal h2 {
    margin: 0;
    line-height: 50px;
}
.modal-content {
    background-color: #fefefe;
    margin: 0 auto 10vh;
    padding: 20px;
    width: 90%;
    text-align: center;
    border-radius: 5px;
    box-shadow: 1px 1px 10px #00000063;
    overflow: hidden;
}

.modal .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.modal .close:hover,
.modal .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.modal .modal-content-container{
    
}
#tutorialModal .system-languages-select{
    text-align: left;
}
#tutorialModal .system-languages-select h4{
    margin: 0;
    color: #4e4c55;
}
#tutorialModal .drop-down{
    display: block;
    background-color: white;
    color: #4e4c55;
    font-weight: bold;
    border: 1px solid lightgray;
    padding: 0.2em 0.5em;
}
#tutorialModal .slides-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}
#tutorialModal img {
    width: 80% !important;
    image-rendering: -webkit-optimize-contrast;
    box-shadow: 2px 2px 10px #00000073;
    max-width: 350px;
}
#tutorialModal .slide {
    display: none;
    position: relative;
}
#tutorialModal .finish-slides{
    background: linear-gradient(to right, #3c7ec4 0%, #2bd3db) !important;
}
#tutorialModal .finish-slides:hover {
    background: linear-gradient(to right, #33679d 0%, #39abc6) !important;
}
#tutorialModal .prev {
    float: left;
    background: #9d9d9d !important;
}
#tutorialModal .prev:hover {
    float: left;
    background: #919193 !important;
}
#tutorialModal .next, #tutorialModal .finish-slides {
    float: right;
}

.modal .text {
    font-size: 15px;
    padding: 8px 12px;
    width: 100%;
    text-align: center;
}

#tutorialModal .numbertext {
    color: #fff;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
    background: #00000087;
    font-weight: bold;
    border-bottom-right-radius: 5px;
}

/* The dots/bullets/indicators */
#tutorialModal .dot-container {
    display: inline-block;
    margin: 10px 0;
}
#tutorialModal .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

#tutorialModal .active, .dot:hover {
    background-color: #717171;
    box-shadow: 0px 0px 0.02em 0.15em #fff, 0px 0 0.333em 0.1667em rgba(0, 0, 0, 0.4);
    background: linear-gradient(to right, #50ab2b 0%, #6fcc3f) !important;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fade {
    from {
        opacity: 0;  

    }
    to {
        opacity: 1;
    }
}
.sidebar-section:nth-last-child(2) {
    padding-bottom: 4em;
}

.sidebar-section-bottom{
    width: 100%;
    position: absolute;
    bottom: 0;
    background-color: #413f48;
    margin-top: 2em;
}
.sidebar-share-title{
    color: white;
    font-weight: bold;
    cursor:pointer;
    text-align: center;
    font-size: 15px;
    padding: 0.5em 0;
}
.sidebar-share-block{
    width: 100%;
    padding: 1em;
    text-align: center;
    display: none;
    position: absolute;
    bottom: 100%;
    background-color: #413f48d4;
}
.lugat-page-content .social-share-container{
    
}
.lugat-page-content .social-share-container a{
    display: block !important;
    margin: 5px 0;
    padding: 5px 0;
    border-bottom: 1px solid #eae9e9;
}
.lugat-page-content .social-share-container b{
    display: inline;
    font-size: 14px;
    margin-left: 10px;
    color: black;
}
.translation-share-block .social-share-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.translation-share-block .social-share-container a{
    display: block !important;
    margin: 5px 0;
    padding: 5px 0;
    text-align: center;
    color: #2e3031;
}
.translation-share-block .social-share-container b{
    display: block;
    font-size: 14px;
}
.social-share-container img{
    width: 40px;
}


/* BOTTOM BAR */ 
.lugat-bottom-bar{
    display: inline;
    position: fixed;
    bottom: 0%;
    width: 100%;
    background-color: white;
    box-shadow: 1px 1px 20px -5px #0003;
    border-radius: 5px 5px 0 0;
    border: 1px solid lightgray;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    text-align: center;
    padding: 1.2em;
    transition: 0.3s ease-out;
    transform: translateX(0px);
}
.lugat-bottom-bar a{
    color: #575757 !important;
    font-size: 22px;
    position: initial;
    padding: 0;
}
.lugat-bottom-bar a:hover{
    color: gray !important;
}
.sidebar-opened .lugat-bottom-bar{
    transform: translateX(0%);
    width: calc(74% - 1em);
    margin-left: 26%;
}
.active-autocomplete .lugat-bottom-bar{
    transform: translateY(5em);
}
body:not(.lugat-page-is-active) .edit-link,
body:not(.lugat-page-is-active) .favourite-link,
.header-empty .lugat-bottom-bar .edit-link,
.header-empty .lugat-bottom-bar .favourite-link{
    color: #bbbbbb !important;
    pointer-events: none;
}



.translation-share{
    position: relative;
    z-index: 200;
    display: inline-block;
    margin: 0px 5px;
}
.translation-share-title{
    cursor: pointer;
    font-size: 15px;
    text-align: right;
    font-weight: bold;
}
.translation-share-block{
    display:none;
    width: max-content;
    position: absolute;
    background-color: white;
    padding: 0.5em 1em;
    text-align: center;
    border-radius: 5px;
    box-shadow: 1px 1px 10px #00000063;
    right: 0;
}
.translation-share-block h4{
    line-height: 2em;
    display: none;
}
.search-links-open {
    padding: 0 5px;
    font-size: 25px;
}
.search-links-open:hover {
    color: #66ad4c;
}

.search-links-container{
    background-color: white;
    padding: 0.2em 1em;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    right: 0;
    border-radius: 5px 5px 0 0;
    box-shadow: 1px 1px 10px #00000063;
    position: fixed;
    bottom: 0px;
    width: calc(74% - 1em);
    left: 0px;
    margin-left: 26%;
    text-align: center;
    display: none;
    z-index: 1200;
}
.search-links{
    position: absolute;
    top: 15px;
    right: 30px;
    transition: 0.5s all;
    line-height: initial !important;
}

.search-links-container a{
    position: relative;
    margin: 0px 5px;
    display: block;
    padding: 10px 0;
    color: #2e3031;
}
.search-links a .search-link-description {
    font-weight: inherit;
    margin-left: 6px;
    color: #312f38;
}
.search-links a i {
    color: #312f38;
}
.search-links a:hover .search-link-description,
.search-links a:hover i{
    color: #66ad4c;
}
.search-links a .search-link-list{
    font-weight: inherit;
    margin-left: 6px;
    color: #312f38;
}
.search-links a:hover .search-link-list,
.search-links a:hover i{
    color: #66ad4c;
}
.search-links .newlink{
    color: gray;
    font-weight: initial;
}
.search-links .newlink i{  
    margin-right: 8px;
}

.edit-link-container{
    
}
.edit-link{
    padding: 0 15px;
    font-size: 22px;
    color: #312f38;
}

.search-links-open.share-accordion.active:before{
    opacity: 1;
    height: 100vh;
}
.translation-share-block{
    position: relative;
    box-shadow: none;
    width: 100%;
    background-color: #e8e8e8;
    border-radius: 15px;
}

.translation-social-share-container{
    
}
.translation-social-share-container a{
    display: inline-block;
    text-align: center;
    margin: 0.5em;
}
.translation-social-share-container b{
    display: block;
    font-size: 12px;
}
.translation-social-share-container img{
    width: 40px;
}


/*DEBUGGING*/
/*
#g-footer, 
#g-navigation, 
.lugat-header-title, 
.lugat-head-block, 
.lugat-header-search-history, 
.lugat-header-description,
#syncPopup .popup-header,
#syncPopup .popup-info,
#syncPopup .popup-no-update-available


{
    display: none !important;
}
.popup-update-block{
    display: block !important;
}
#lugat-head.head-empty{
    background-image: url('../images/back.jpg') !important; 
    height: 100vh;
    background-size: initial !important;
}
.popup, .popup-update-block{
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
*/
@media only screen and (max-width: 1000px){
    #lugat-body{
        width: 98% !important;
    }
    .info-row{
        width: 100% !important;
    }
    .advantages-grid{
        grid-template-columns: 48% 48% !important;
    }
    #lugat-head.head-empty .lugat-head-block{
        width: 100% !important;
        height: auto;
    }
    .lugat-header-search-history .tag-list{
        grid-template-columns: 100%;
    }
    .sidebar.opened{
        width: 90%;
    }
}

@media all and (max-width: 768px){
    .social-share-container{
    }
    .translation-share-block{
    }
    .translation-share-title {
        font-size: 13px;
        line-height: 1;
        height: 15px;
        overflow: hidden;
    }
    .sidebar-opened .lugat-container .lugat-page{    
        width: 105%;
        max-height: 100vh;
        overflow: hidden;
        transform: translateX(60%);
        padding-left: 15%;
    }
    .denotations-list, .referents-list{
        margin: 0px 4px !important; 
        white-space: normal !important;
    }
    .part-of-speech-block{
        margin: 0 !important;
    }
    .example_list, .referent-suggestions{
        margin-left: 1em !important;
    }
    .search-row{
        width: 100% !important;
        padding: 0.7em 0em !important;
    }
    .autocomplete{
        width: 90% !important;
    }
    #lugat-body{
        margin: 0% !important;
        width:100% !important;
        padding: 0.5em !important;
    }
    .container{
        border-radius: 5px !important;
        width: calc(100vw - 1em) !important;
    }
    .info-row{
        margin: 0 !important;
        padding: 0.4em 0.4em 3em !important;
        border: none !important;
    }
    .advantages-grid{
        grid-template-columns: 98% !important;
    }
    .query-word_block{
        padding-left: 0.4em !important;
    }
    #add_new_word span{
        display: none;
    }
    .add-word-block #add-word-group{
        right: 0;
        width: 85vw !important;
    } 
    #special-symbols{
        grid-template-columns: 25% 25% 25% 25% !important;
        
    }
    #lugat-head{
        border-radius: 0px 0px 5px 5px;
        margin-top: 0em;
    }
    #lugat-head:not(.head-empty) #special-symbols,
    #lugat-head:not(.head-empty) div.autocomplete-items{
        box-shadow: 0px 2px 14px #00000073 !important;
    }
    div.with-keyboard div.autocomplete-items{
        top: 100px !important;
    } 
    .autocomplete-items div{
        margin: 0 !important;
    }
    .container{
        padding: 40px 0em !important;
    }
    .notfound-message{
        padding: 1em !important;
        margin: 1em !important;
    }
    #lugat-body-not-found{
        background: none !important;
    }
    .input-actions{
        top: 0 !important;
        box-shadow: none;
        display: grid !important;
        grid-template-columns: 33% 33% 33%;
        width: auto !important;
        display: block !important;
        right: 0 !important;
        background-color: white;
        border-radius: 5px;
        padding-right: 8px;
    }
    .input-actions #search-button{
        display: none !important;
    }
    
    .sidebar.opened{
        width: 75%;
    }
    .translation-container,
    .morphology-container,
    .examples-container{
        padding: 0.5em;
    }
    .version-history-block{
        grid-template-columns: 100%;
    }
    .sidebar .sidebar-container{
        overflow-y: auto;
        height: 100vh;
    }
    .lugat-page .lugat-page-content{
        padding: 1em 1em 5em !important;
    }
    .sync-container table{
        width: 100% !important;
    }
    #lugat_sidebar.sidebar.opened{
        box-shadow: 9px 1px 20px #00000091;
    }
    #tabs{
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        z-index: 200;
        grid-column-gap: 5px;
    }
    .result-header{
        margin-bottom: 0.5em;
        width: calc(100% - 1em);
        top: 75px;
        border-radius: 5px;
    }
    #tabs li a{
        width: 100%;
        text-align: center;
    }
    .referent-words select{
        border-radius: 5px;
        height: 2.5em;
    }
    #lugat-head{
        width: 100%;
    }
    #lugat-head.head-empty .lugat-header-search-history{
        width: 100%;
    }
    .lugat-page #lugat-head.head-empty, 
    .lugat-page #lugat-head.head-empty .lugat-head-block{
        height: auto !important;
    }
    .header-empty .lugat-page #lugat-head, 
    .header-empty .lugat-page #lugat-head .lugat-head-block{
        height: 80px;
    }
    .lugat-page #lugat-head, 
    .lugat-page #lugat-head .lugat-head-block{
        height: 70px;
    }
    .lugat-page #lugat-head.head-empty{
        height: auto !important;
    }
    .swipe-nav-open:after {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        visibility: visible;
        width: 100%;
        content: '';
    }
    .sidebar-opened .lugat-bottom-bar{
        transform: translateX(75%);
        margin-left: 1em;
        width: 100%;
    }
    .search-links-container{
        position: fixed;
        bottom: 0px;
        width: 100%;
        right: 0px;
        margin: 0;
    }
    .sync-no-update-available{
        width: 100%;
    }
    .sync-container .sync-info .sync-info-block .label.question .label-description{
        width: 80vw;
    }
    #loadingHider, #updateScreen{
        width: 100vw;
    }
}

.swipe-nav {
  z-index: 200;
  -webkit-transition: visibility 0.2s ease;
  transition: visibility 0.2s ease;
}


.swipe-nav__panel {
  position: fixed;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 25%;
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  -webkit-transform: translate3d(-100%, 0, 0);
          transform: translate3d(-100%, 0, 0);
}



.swipe-nav-open,
.no-js .swipe-nav:target {
  visibility: visible;
  overflow-x: hidden;
}
.swipe-nav-open .swipe-nav__panel,
.no-js .swipe-nav:target .swipe-nav__panel {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}
.no-scroll, 
.modal-opened{
    overflow-y: hidden;
}
@media all and (max-width: 700px){
    .swipe-nav__panel { 
      width: 75%;
    }
}

@media all and (max-width: 350px){
    .sidebar .sidebar-section .sidebar-section-title i {
        display: none !important;
    }
    .sidebar .sidebar-section-title a{
        margin-left: 0px !important;
    }
}
#backgroundDarkness{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1100;
    background-color: #00000091;
    display: none;
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label
{
    position: relative;
    padding: 0px 15px;
    cursor: pointer;
    line-height: 30px;
    display: inline-block;
    color: #666;
}[type="radio"]:checked + label b,
[type="radio"]:not(:checked) + label b {
    z-index: 10;
    position: relative;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
[type="radio"]:checked + label b{
    color: white !important;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 100%;
    height: 30px;
    background: #65c534;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 5px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}