::selection {background: #223901; color: #fff;}
::-moz-selection {background: #223901; color: #fff;}
:focus {outline:none;}
::-moz-focus-inner {border:0;}
a, a:hover, a:active, a:focus {
     outline: 0;
}

button::-moz-focus-inner { border: 0; }


img::selection {background: transparent;}
img::-moz-selection {background: transparent;}
.display-block { display:  block !important;}
.modal-body > p, .modal-title {
    font-size: 14px;
}
html,
body {
    height: 100%;
    
}
body { 
    background: #4a2b17 url("../img/bg_body.jpg") repeat-x scroll 0 0;    
    position: relative;
}
 h1,h2,h3,h4,h5,h6,h7,h8 {
    color: #f2bd86;
}
p, a {
    //color: #fff;
}

tr > td {
     word-break: break-all;
}
.wrap {
    
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 15px 0 60px;
    background: rgba(0, 0, 0, 0) url("../img/bg_main.jpg") no-repeat scroll center 0;
}
.container {
    background-color: transparent;
}
.container.blog-view {
    background: rgba(74, 43, 23, 0.9);
    
}
.container-wrapper {
    margin-left: 15px;
    margin-right: 15px;
    background-color: #fff;
    min-height: 100%;
    padding-top: 15px;
    min-height: 710px;
}
.wrap > .container {
    padding: 0 0 20px;
}
.thumbnail {
    background: #a8662f none repeat scroll 0 0;
}
.lesson-item  .thumbnail {
    margin-bottom: 0;
}
.subject-title {
    font-size: 16px !important;
    white-space: normal;
    max-width: 322px;
    overflow: hidden;
    padding-left: 0;
    height: 60px;
    
}
.history .subject-title {        
    background-color: #fbff96;
    color: #000;   
    width: 100%;
}
.breadcrumb {
    background-color: #492C17;
    padding: 15px;
}
.breadcrumb > li + li::before {
    color: #cf854a;
}
.breadcrumb > li > a {
    color: #cf854a;
}

.breadcrumb > li.active > a, .breadcrumb > li.active {
    color: #fdbf6a;
}
.content-header > h1, .content-header > h2, .content-header > h3 {
    background: rgba(0, 0, 0, 0) url("../img/bg_h2.png") repeat-x scroll 0 bottom;
    margin: 0 0 20px;
    padding: 0 25px 25px;
    text-align: left;
    text-transform: inherit;
}
.footer {
     background: #4a2b17 url("../img/bg_wrapFooterAll.png") repeat-x scroll 0 124px;    
     padding-top: 160px;
     position: relative;
}
.footer > .footer-image {
    background: rgba(0, 0, 0, 0) url("../img/bg_footer.jpg") repeat scroll 0 0;
    height: auto;
    margin: 0 auto;
    padding: 15px 0 0;
    position: relative;
    width: 100%;
    z-index: 999;
    
}
.footer > .footer-image > .container {
    position: relative;
    max-width: 1200px; 
    padding: 30px 0;
}
#castle {
    background: rgba(0, 0, 0, 0) url("../img/bg_wrapFooterCenter.jpg") no-repeat scroll center 0;
    height: 157px;
    position: absolute;
    top: 0;
    width: 100%;
}
.footer-menu > li > a, .footer-div p, .footer-div p a {
    color: #fbff96;
    float: left;
}
.footer-menu > li > a:hover, .footer-menu > li > a:focus {
    text-decoration: none;
    color: #fff;
}
.footer-div  {
    clear: both;
}
.copyrights > a{
    float: right;
}
.social-networks {
    float: left;
    
    padding: 0;
}
.social-networks li {
    list-style-type: none;
    display: inline-block
}
.social-networks li img {
    height: 33px;
    opacity: 0.8;
    width: 35px;
}
.row {
    margin-left: 0;
    margin-right: 0;
}
.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}
.container.header {
    background: rgba(0, 0, 0, 0) url("../img/bg_topHeader2.png") no-repeat scroll center bottom;
    position: relative;
    bottom: -54px;
    height: 200px;    
    padding: 20px;
    
}
.logo-wrapper {
    display: block;
    width: 250px;
    height: 150px;
}
.logo {
    background-image: url('../img/Darislogo.png');
    position: absolute;
    top: -85px;
    display: block;
    width: 233px;
    height: 225px;
	background-repeat:no-repeat;
}
.navbar.navbar-inverse {
    background-color: transparent;  
    border: none;
    margin-bottom: 0;
}

.navbar.navbar-inverse > .container{
    background-color: transparent;  
    border: none;
}
.navbar-inverse .navbar-nav > li a {
    padding: 0 33px;
    color: #fbff96;
    font: 18px/38px "Verdana",cursive;
    margin: 0 10px 0 18px;
    padding: 0 14px;
    /*text-transform: capitalize;*/
}
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    background: #304904 none repeat scroll 0 0;
    border-radius: 30px;
     color: #fbff96;
}
.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
    background: #304904 none repeat scroll 0 0;
    border-radius: 30px;
}
.navbar-nav > li {
    background: rgba(0, 0, 0, 0) url("../img/bg_primaryNav_li_Divider.png") no-repeat scroll 0 center;
    margin: 0;
    padding: 0;
    
}
.navbar-nav > li:first-child {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
}
.dropdown-menu {
    background-color: transparent;
    left: 17px;
    box-shadow: none;
    border: none;
}
.dropdown-menu > li  {    
    background: #2a1e16 none repeat scroll 0 0;
    border-radius: 30px;
    margin-bottom: 2px;
    padding: 0 15px;
    text-align: left;
    width: 81%;
}
.dropdown-menu > li:hover  {
    background-color: #4b2b17;
}
.navbar-inverse.navbar-default.navbar .dropdown-menu > li > a {
    color: #d6a166;
    font: 14px/16px "Verdana";
    height: auto;
    padding: 10px 0;
    margin: 0;
    text-transform: capitalize;
    white-space: nowrap;
}
.navbar-inverse.navbar-default.navbar .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    background-color: transparent;
}

.secondary-menu {
    display: block;
    margin: 0 auto;
    
    width: 1200px;
}
.secondary-menu > .secondary-nav {
    float: right;
    list-style: none;
    margin-right: 15px;
    
}
.secondary-nav  > li {
    display: block;
    float: none;
    
}
.secondary-nav > li.item-lang {
    float: left;
    margin-right: 5px;
    font-weight: bold;
}
.secondary-nav  > li > a {
    color: #223901;
}
.navbar-nav > .item-lang {
    display: inline;
}

.footer-menu > li {
    display: inline-block;
    list-style: none;
    margin: 2px 7px;
    font-weight: bold;
}

.content-body {
    margin-top: 15px;
    padding: 30px 50px 50px;
}
/********   TABS IN LESSON  *********/
li.lesson-tab {
    width: 25%;
    position: relative;
    
}


/* COMMENTS SYSTEM*/
.comments-list .comment {
    margin-left: 15px;
    margin-right: 15px;
}
.row.comment-form {
    margin: 1em 1em 2em 1em;  
    
}
.row.comment-form .form-group label{
    display: none;
    height: 0;
    visibility: hidden;
}
 
.row.comment-form .actions {    
    position: absolute;
    bottom: -20px;
    right: 15px;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    
}
.row.comment-form .form-group .help-block {    
    bottom: 5px;
    display: block;
    height: 24px;
    margin: 11px auto;
    padding: 2px 16px;
    position: absolute;
}

.row.comment-form .actions > button {
    float: right;
    
}

.row.comment-form .actions > button.btn-primary {    
    font-weight: bold;
    color: #223043;
    border-color: #ccc;
    
    border-radius: 0 0 4px 0;
    background: rgb(245,246,246); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(245,246,246,1) 0%, rgba(219,220,226,1) 21%, rgba(214,214,214,1) 49%, rgba(221,223,227,1) 80%, rgba(245,246,246,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(245,246,246,1)), color-stop(21%,rgba(219,220,226,1)), color-stop(49%,rgba(214,214,214,1)), color-stop(80%,rgba(221,223,227,1)), color-stop(100%,rgba(245,246,246,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(245,246,246,1) 0%,rgba(219,220,226,1) 21%,rgba(214,214,214,1) 49%,rgba(221,223,227,1) 80%,rgba(245,246,246,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(245,246,246,1) 0%,rgba(219,220,226,1) 21%,rgba(214,214,214,1) 49%,rgba(221,223,227,1) 80%,rgba(245,246,246,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(245,246,246,1) 0%,rgba(219,220,226,1) 21%,rgba(214,214,214,1) 49%,rgba(221,223,227,1) 80%,rgba(245,246,246,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(245,246,246,1) 0%,rgba(219,220,226,1) 21%,rgba(214,214,214,1) 49%,rgba(221,223,227,1) 80%,rgba(245,246,246,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f6f6', endColorstr='#f5f6f6',GradientType=0 ); /* IE6-9 */
}
.row.comment-form  #commentcreateform-text {
    display: block;
    padding:10px;
    box-shadow:  0 1px 4px rgba(0, 0, 0, 0.16) inset !important;
    border-bottom: 1px dotted !important;
    resize: vertical;
    border-radius: 4px 4px 0 0;
}

.comment-del {
    position: absolute;
    right: 5px;
    top: 35px;
    width: 24px;
    height: 24px;
    font-weight: 18px;
    color: red;
    border: none;
    background-color: transparent;
}
.comments-not-found {
    margin-bottom: 6px;
}
/* comments end*/
.btn.btn-reply {
    color: #5b5b5b;
}
blockquote {
    border-color: #7fd0ff;
}
.subject-title {
    clear: both;
    font-size: inherit;
    color: #e38c56;
}
.subject-title:hover {
    color: #ffb171;
    text-decoration: none;
}
.lesson-item {
    display: block;
    float: left;
}
.item-thumbnail {
    clear: both;
    display: block;
    width: 500px;
}

.teacher-lessons-wrapper .item-thumbnail {
    width: 100%;
    height: 370px;
        
}
    
.lesson-item .thumbnail {
    position: relative;
}

.lesson-item .thumbnail > .fa-remove {
    color: red;
    position: absolute;
    top: 6px;
    right: 6px;
    cursor: pointer;
    font-size: 22px;
    
}
.item-thumbnail.history {
    width: 245px;
}

.item-thumbnail > img {
    width: 500px;
    height: 500px;
}
.dropdown.share > .dropdown-menu{
    width: auto;
    z-index: 99999;
    border: 4px solid #B0F286;
    background-color: #fff;
    top: 35px;
    right: 0;
}
.dropdown.share > .dropdown-menu > li {
    float: left;
    width: auto;
    margin: 0 20px;
    border-radius: 8px;
    background-color: #B0F286;
}
.dropdown.share > .dropdown-menu > li > a, .dropdown.share > .dropdown-menu > li > a:hover {
    color: #000;
    background-color: transparent;
}
#dropdownMenu2 {
    background-color: #fbff96;
    border: 1px solid #e6ea56;
    color: #c21111;
    float: right;
}
.readmore-icons {
    float: right;
    padding: 11px 0 11px 12px;
}
.readmore-icons > a > i{
    width: 22px;
    height: 17px;
    display: inline-block;
    background: url("../img/icons.png") no-repeat 0 0 transparent; 
    margin-left: 8px;
}
.readmore-icons > a > i:hover {
    background-position: -30px 0;
}
.readmore-icons > a > i.ic_text {
    background-position: 0 -30px;
}
.readmore-icons > a > i.ic_text:hover {
    background-position: -30px -30px;
}
.readmore-icons > a > i.ic_ex {
    background-position: 0 -60px;
}
.readmore-icons > a > i.ic_ex:hover {
    background-position: -30px -60px;
}
.readmore-icons > a > i.ic_test {
    background-position: 0 -90px;
}
.readmore-icons > a > i.ic_test:hover {
    background-position: -30px -90px;
}
.teacher-wrapper {
    min-height: 300px;
        
}



.item-thumbnail  > span {
    float: left;
    display: inline-block;
}
@media(max-width:767px){

    #dropdownMenu2 {
        float: none;
    } 
    .dropdown.share > .dropdown-menu > li {
        margin: 0 20px;
        width: 87%;
    }
    .item-thumbnail {
        clear: both;
        display: block;
        width: 100%;
    }
    .item-thumbnail > img {
        width: 100%;
        height: 85px;
    }
}
/*  SLIDER STYLE  */
.main-slider, #slider1_container  {
    position: relative;  
    overflow: hidden;
    width: 100%;
    height: 455px;
    background-color: #F2BD86;
    border-radius: 10px 10px 15px 15px;
    
}
.main-slider img {
    width: 100%;
    //max-height: 480px;
}
.slide-caption {
    display: block;
    
    height: 90px;
    left: 0;
    position: absolute;
    top: 355px;
    width: 790px;
    padding: 15px 25px ;
    margin-left: 10px;
    font-size: 1.6em;
    font-weight: bold;
    color: #F2BD86;
    background-color: rgba(70, 52, 43,0.92);
}

.slides-wrapper {
    cursor: move; 
    position: absolute; 
    left: 0px; 
    top: 0px; 
    width: 810px; 
    height: 445px;
    overflow: hidden;
    
}
.slides-wrapper:hover .slide-caption {
    display: none;
}
.video-js .vjs-poster {
    display: block;
}
video-js.vjs-has-started .vjs-poster {
    display: none;
    
}
/* jssor slider thumbnail navigator skin 11 css */
/*
    .jssort11 .p            (normal)
    .jssort11 .p:hover      (normal mouseover)
    .jssort11 .pav          (active)
    .jssort11 .pav:hover    (active mouseover)
    .jssort11 .pdn          (mousedown)
*/
.jssort11 {
    position: absolute;
    width: 315px;
    height: 455px;
    font-family: Arial, Helvetica, sans-serif;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.jssort11 .p {
    position: absolute;
    width: 320px;
    height: 105px;
    background: #46342B;
    border-radius: 5px;
}

.jssort11 .tp {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    
}

.jssort11 .i, .jssort11 .pav:hover .i {
    position: absolute;
    top: 0;
    left: 0;
    width: 140px;
    border-right: #f2bd86 1px solid;
    
}

* html .jssort11 .i {
    width /**/: 62px;
    height /**/: 32px;
}

.jssort11 .pav .i {
    border-right: #f2bd86 1px solid;
}

.jssort11 .t, .jssort11 .pav:hover .t {
    position: absolute;
    top: 3px;
    left: 143px;
    width: 173px;
    height: 100px;
    line-height: 18px;
    text-align: center;
    color: #F2BD86;
    font-size: 13px;
    font-weight: 700;
}

.jssort11 .pav .t, .jssort11 .p:hover .t {
    color: #fff;
}

.jssort11 .c, .jssort11 .pav:hover .c {
    position: absolute;
    top: 38px;
    left: 3px;
    width: 197px;
    height: 31px;
    line-height: 31px;
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    overflow: hidden;
}

.jssort11 .pav .c, .jssort11 .p:hover .c {
    color: #fc9835;
}

.jssort11 .t, .jssort11 .c {
    transition: color 2s;
    -moz-transition: color 2s;
    -webkit-transition: color 2s;
    -o-transition: color 2s;
}

.jssort11 .p:hover .t, .jssort11 .pav:hover .t, .jssort11 .p:hover .c, .jssort11 .pav:hover .c {
    transition: none;
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: none;
}

.jssort11 .p:hover, .jssort11 .pav:hover {
    background: #333;
}

.jssort11 .pav, .jssort11 .p.pdn {
    background: #3B3F17;
}


/* jssor slider thumbnail navigator skin 03 css */
/*
.jssort03 .p            (normal)
.jssort03 .p:hover      (normal mouseover)
.jssort03 .p.pav        (active)
.jssort03 .p.pdn        (mousedown)
*/

.jssort03 {
    position: absolute;
    /* size of thumbnail navigator container */
    width: 240px;
    height: 480px;
}

    .jssort03 .p {
        position: absolute;
        top: 0;
        left: 0;
        width: 99px;
        height: 66px;
    }

    .jssort03 .t {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

    .jssort03 .w {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
    }

    .jssort03 .c {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 95px;
        height: 62px;
        border: #000 2px solid;
        box-sizing: content-box;
        background: url(/img/t01.png) -800px -800px no-repeat;
        _background: none;
    }

    .jssort03 .pav .c {
        top: 2px;
        _top: 0px;
        left: 2px;
        _left: 0px;
        width: 95px;
        height: 62px;
        border: #000 0px solid;
        _border: #fff 2px solid;
        background-position: 50% 50%;
    }

    .jssort03 .p:hover .c {
        top: 0px;
        left: 0px;
        width: 97px;
        height: 64px;
        border: #fff 1px solid;
        background-position: 50% 50%;
    }

    .jssort03 .p.pdn .c {
        background-position: 50% 50%;
        width: 95px;
        height: 62px;
        border: #000 2px solid;
    }

    * html .jssort03 .c, * html .jssort03 .pdn .c, * html .jssort03 .pav .c {
        /* ie quirks mode adjust */
        width /**/: 99px;
        height /**/: 66px;
    }
    .captionOrange {
        position: absolute;
        bottom: 30px;
        left: 30px;
        font-size: 26px;
        color: #fff;
        width: 80%;
        overflow: hidden;
    }
    /* jssor slider arrow navigator skin 06 css */
    /*
    .jssora06l                  (normal)
    .jssora06r                  (normal)
    .jssora06l:hover            (normal mouseover)
    .jssora06r:hover            (normal mouseover)
    .jssora06l.jssora06ldn      (mousedown)
    .jssora06r.jssora06rdn      (mousedown)
    */
    .jssora06l, .jssora06r {
        display: block;
        position: absolute;
        /* size of arrow element */
        width: 40px;
        height: 40px;
        cursor: pointer;
        background: url(/img/a17.png) no-repeat;
        overflow: hidden;
        top: 155px;
    }
    .jssora06l { background-position: -10px -40px; left: 248px;}
    .jssora06r { background-position: -70px -40px; right: 8px;}

    .jssora06l:hover { background-position: -130px -40px; }
    .jssora06r:hover { background-position: -190px -40px; }
    .jssora06l.jssora06ldn { background-position: -250px -40px; }
    .jssora06r.jssora06rdn { background-position: -310px -40px; }    
    .jssora05l, .jssora05r {
       top: 0%;
    }
    
  /**  VIDEO JS   **/ 
  .container.video-slider {
      
      
      padding: 15px;
      background-color: #4b2b17;
      border-radius: 0 0 30px 30px;
  }
.lesson-video { width: 100%;display: block;position: relative;}  
.video-js {padding-top: 56.25%}
.vjs-fullscreen {padding-top: 0px}
.video-wrapper {margin: 0 auto; clear: both; float: none;}
.slides-wrapper > div {padding: 10px; }
.vjs-default-skin .vjs-big-play-button::before {
    
    font-size: 44px;
    color: #4B2B17;
    text-shadow: none;
}
.vjs-default-skin .vjs-big-play-button {
    height: 4em;
    background-color: rgba(242, 188, 135, 0.65);
}
.vjs-default-skin:hover .vjs-big-play-button, .vjs-default-skin .vjs-big-play-button:focus {
    background-color: #F2BD86
}


/****     LAST LESSONS WIDGET STYLE   *****/
.sidebar {
    padding-left: 0;
    padding-right: 0;
}
.last-lessons-block {
    
}
.last-lessons-block > .last-lesson-item {
    clear: both;
    float: none;
}
.last-lessons-image-block, .last-lessons-data-block {
    display: block;
    float: left;
}
.last-lessons-image-block {
    max-width: 40%;
    width: 40%;
}
.last-lessons-data-block {
    max-width: 60%;
    width: 60%;
    padding-left: 10px;
    position: relative;
}

.last-lessons-image-block .thumbnail {
    min-width: 136px;
    min-height: 85px;
}

@media(max-width:767px){
    
    .last-lessons-image-block .thumbnail {
        min-height: 70px;
        min-width: 110px;
    }
}
.last-lesson-item-title {
   margin-top: 0;
   margin-bottom: 0;
   min-height: 65px;
    
}

/*****    TEST STYLE   ****/
.test-form > .form-group {
    display: block;
    clear: both;
    float: none;
    border-bottom: 1px solid #ccc;
    padding: 4px;
    margin-bottom: 4px;
}
.test-form > .form-group > div > label {
    padding: 4px 10px;
    width: 49%;
}


/*****   TABS STYLE   *****/

.nav-tabs-wrapper-outer {
    overflow: hidden;
    position: relative;
    width: 100%;
    //padding-right: 45px;
}
.homepage-tabs {
    margin-top: 15px;
    padding: 0 !important;
}
.homepage-tabs .tab-content {
    margin-top: 15px;
}
.homepage-tabs .nav-tabs {
   background: transparent url('../img/tab-bg.png') no-repeat bottom left;
   border: none;
   padding-left: 45px;
   width: 3744px;
   height: 45px;
   position: relative;
   
}
.homepage-tabs .nav-tabs li {
    background: rgba(0, 0, 0, 0) url("../img/bg_primaryNav_li_Divider.png") no-repeat scroll 0 18px;
    height: 38px;
    margin: 3px 0;
    position: relative;
    top: 0;
    width: 150px;
    display: inline-block;
    float: left;
    
}
.homepage-tabs .nav-tabs li.active {
    
}
.homepage-tabs .nav-tabs li:nth-child(7n+7) {
    margin-right: 45px; 
}
.homepage-tabs .nav-tabs li:nth-child(8n+8) {
    margin-left: 45px; 
}


.homepage-tabs .nav-tabs li > a {
    margin: 0;
    border-radius: 0;
    color: #fbff96;
    padding: 0 15px;
    text-align: center;
    height: 40px;
    
}
.homepage-tabs .nav-tabs li.active > a, .homepage-tabs .nav-tabs > li > a:hover, .homepage-tabs .nav-tabs li > a:focus  {
    background-color: #304904; 
    border-radius: 30px;
    color: #fbff96;
    border: none;
    margin-left: 12px;
    
}
.homepage-tabs .nav-tabs li.active > a:focus, .homepage-tabs .nav-tabs li.active > a:hover   {
    color: #fff;
}

.homepage-tabs  .accordion-toggle {
    color: #fbff96
}
.homepage-tabs .tab-content > .active {
    min-height: 60px;
        
}
.tab-nav-arrow {
    position: absolute;
    display: block;
    height: 34px;
    width: 20px;
    background: url('../img/kupols.png') no-repeat 0 0;
    cursor: pointer;
    z-index: 9;
}
.tab-nav-arrow.to-left {left: 15px; top: 4px;}
.tab-nav-arrow.to-right {right: 15px; top: 4px; background-position: -20px 0;}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    //color: #fbff96;
}
.panel-group.responsive .panel-default > .panel-heading {
    background-color: #314C04;
}
.panel-group.responsive .panel-default > .panel-heading .panel-title {
    //color: #fbff96;
}
.panel-green  {
    border: none;
    border-radius: 40px;
    
}
.panel-green > .panel-heading {
    background: transparent url('../img/teacher-bg.png') no-repeat bottom left;
    background-size: 100% 50px;
    height: 50px;
    color: #fbff96;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
    line-height: 28px;
    
}
.panel-green > .panel-body {
    border-radius: 0 0 20px 20px;
    background: #F2BD86 url('../img/bg_h2.png') repeat-x bottom left;
}
.dot {
    background: rgba(0, 0, 0, 0) url("../img/bg_primaryNav_li_Divider.png") no-repeat scroll 0 center;
    height: 10px;
    width: 10px;
    display: inline-block;
    margin: auto 10px;
}
.homepage-tabs .nav.nav-tabs> li > a:hover, .nav.homepage-tabs > li > a:focus {
    
    
    background-color: transparent;
}
.lesson-tab-body-item {
    position: relative;
}
.lesson-tab-body-item >  .item-wrapper {
    
    padding: 0 20px;
    display: block;
    background: rgba(0, 0, 0, 0) url("../img/bg_bannerBlock.png") no-repeat scroll 0 0;
    height: 445px;
    padding-bottom: 35px;
    padding-top: 40px;
    background-size: 350px auto;
    margin-bottom: 40px;
}
.item-wrapper > div {
    position: relative;
    width: 100%;
    display: block;
    text-align: center;
}
.item-wrapper >  h2 {
     color: rgb(75, 43, 23);
    font: 22px/26px "Verdana";
    margin: 0 0 8px;
    padding: 0;
    text-align: center;
    display: block;
    height: 56px;
    position: relative;
    width: 100%;
    overflow: hidden;
    
}
.item-wrapper > div > p {
    font: 16px/20px "Verdana";
    margin: 5px auto;
    height: 60px;
    display: block;
    overflow: hidden;  
    text-align: left;
}
.item-wrapper > div > a.btn-readmore-lesson {
    background: rgb(164, 98, 57) none repeat scroll 0 0;
    border-radius: 30px;
    color: rgb(254, 170, 76);
    display: inline-block;
    font: 12px/18px "Verdana";
    height: auto;
    margin: 10px auto;
    
    padding: 9px 28px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    width: auto;
    
}
.item-wrapper > div > a.btn-readmore-lesson:hover, .item-wrapper > div > a.btn-readmore-lesson:focus{
    background: rgb(75, 43, 23);
}

.icPlay {
    background: rgba(0, 0, 0, 0) url("../img/video-play.png") no-repeat scroll 0 0;
    height: 100px;
    left: 50%;
    position: absolute;
    top: 50%;
    width: 100px;
    margin-left: -50px;
    margin-top: -50px;
    cursor: pointer;
    opacity: .5;
}

.chiken {
    background: rgb(246, 202, 156);
    position: relative;
    border: 7px solid rgb(203, 163, 139); //1px
    //padding: 6px;
    margin: 6px;
    height: 170px;
    z-index: 1;
    overflow: hidden;
    display: block;
}
.chiken > img {
    display: block;
    width: 100%;
    clear: both;
    float: none;
    vertical-align: middle;
    line-height: 160px;
    margin-top: -35px;
}
.lesson-tabs > .nav.nav-tabs {
    padding: 0 0 5px;
    border-bottom: 6px solid #fdbf6a;
}

.lesson-tabs > .nav.nav-tabs > li {
    
}
.lesson-tabs > .nav.nav-tabs > li > a {
    border-radius: 3px;
    color: #223901;
    margin: 0 6px 0 0;
    text-decoration: none;
    position: relative;
    border: none;
    padding: 8px 10px 11px 52px;
    background-color: #B0F286;
}
.lesson-tabs > .nav.nav-tabs > li > a:before {
    content: '';
    background: url("../img/fixed-header-icos.png") no-repeat scroll 0 0 transparent; 
    width: 42px;
    height: 32px;
    top: 0;
    left: 0;
    
    position: absolute;
}
.lesson-tabs > .nav.nav-tabs > li.active > a {
    background-color: #fdbf6a;
    margin-bottom: -6px;
    padding-bottom: 17px;
    border: none;
}
.nav.nav-tabs > li.li_conspect > a:before { background-position: 11px 6px; }
.nav.nav-tabs > li.li_exercise > a:before { background-position: -115px 6px; }
.nav.nav-tabs > li.li_test > a:before { background-position: -252px 6px; }
.nav.nav-tabs > li.li_audio > a:before { background-position: -623px 6px; }
.nav.nav-tabs > li.li_image > a:before { background-position: -426px 6px; }
.nav.nav-tabs > li.active.li_conspect > a:before { background-position: 11px -67px; }
.nav.nav-tabs > li.active.li_exercise > a:before { background-position: -115px -67px; }
.nav.nav-tabs > li.active.li_test > a:before { background-position: -252px -67px; }
.nav.nav-tabs > li.active.li_audio > a:before { background-position: -623px -67px; }
.nav.nav-tabs > li.active.li_image > a:before { background-position: -426px -67px; }
/*  jplayer responsive*/


/* teachers style */
.teacher-item {
    padding: 20px;
}
.teacher-item-inner {
    border: 2px solid #536736;
    text-align: center;
    display: block;
    position: relative;
    float: left;
    width: 100%;
}
.teacher-image-block {
    padding: 5px;
}
.teacher-item .thumbnail.for-teacher {
    width: 240px;
    height: 240px;
    display: inline-block;
    float: left;
    padding: 0;
    background-color: #fff;
    overflow: hidden;
    -webkit-box-shadow: 6px 8px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 6px 8px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 6px 8px 5px 0px rgba(0,0,0,0.75);
}
.teacher-item .teacher-info {
    display: block;
    float: left;
    padding: 15px 3px;
}
.teacher-fio, .teacher-subject {
    font-size: 16px;
    color: #cf854a;
    font-weight: bold;
    text-align: center;
}
.btn.btn-green {
    width: 230px;
    background-color: #324E04;
    color: #fbff96;
    font-size: 16px;
    border-radius: 12px;
    position: absolute;
    bottom: 25px;
    left: 52%;
    //margin-left: 50px;
}
.teacher-block-header > h4{
    font-weight: bold;
    margin: 0;
}
.teacher-item-inner.in-block {
    border: none;    
}
.btn.btn-green.in-block {
    position: relative;
    left: auto;
    border-radius: 3px;
    margin: 0 auto;
}
.teacher-image-block.in-block {
    padding: 10px;
}
.teacher-descr  {
    padding-right: 15px;
    max-height: 150px;
    overflow: hidden;
}
.pagination-block {
    text-align: center;
}
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #fbff96;
    border-color: #94B948;
    color: #324E04;
}
.thumbnail.pull-left {
    margin-right: 20px;
}

/*  subject page*/

.allsubjects-subject-item {
    padding: 10px 15px;
    display: block;
}
.slide-item {
    //max-width: 195px;
    float: left;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}
.slide-item > img {
    max-width: 220px;
    height:  230px;
    display: block;
    margin: 0 auto;
    border-radius: 130px 130px 0 0;
}
/* carouesel */
.teachers-container .carousel-caption {
    
    left: 0;
    position: relative;
    display: block;
    padding: 10px 5px;
    background-color: #9A6849;
    
    border-radius: 20px;
    font-weight: bold;
    overflow: hidden;
    text-shadow: none;
}
.teachers-container .carousel-caption > a, .teachers-container .carousel-caption > a:hover {
    color: #F59B44;
    text-decoration: none;
}
.teachers-container .carousel-control {
    width: 3%;
}
/* answers*/
.qa-view-answer-form {
    padding: 0 15px;
}
/*ansers end*/

/*  comments   */
.comments-head {
    border-top: 1px dashed  #B0F286;
    padding: 5px 0;
    margin-bottom: 20px;
    width: 100%;
}
.comments-wrapper {
    
    padding: 0;
}
.comments-wrapper .main-ask {
    background-color: #B0F286;
    margin-bottom: 6px;
}
.main-ask {
    padding: 6px;
}
.main-ask > .discuss  > .msg {
    position: relative;
}
.discuss {
    padding: 0;
}
.msg div.txt, .little-msg {
    background-color: #fff;
    overflow: hidden;
    padding: 15px 90px 30px 10px;
    position: relative;
    margin-bottom: 6px;
    word-break: break-all;
}
.msg div.date , .credentials > .date {
    float: right;
    position: absolute;
    right: 10px;
    top: 0;
    width: 75px;
}

.little-msg.from-teacher {
    background-color: #FFF2B4;
}

.comment-form {
    background-color: #fff;
    overflow: hidden;
    padding: 10px;
    margin-top: -6px;
}
.comment-form.main {
    padding: 10px;
}
.main-form-block > .comment-form.main {
    padding: 10px 0;
}
.comment-form > .form-group > textarea {
    border: 3px solid #B0F286;
    box-sizing: border-box !important;
    font-size: 11px;
    height: 44px;
    margin-bottom: 6px;
    padding: 8px;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
}
.comment-form > .form-group > textarea {
    box-shadow: none;
}
.comment-form > .form-group > label {
    display: none;
}
.comment-form button {
    background-color: #B0F286;
    border: 0 none;
    border-radius: 3px;
    color: #223901;
    display: inline-block;
    font-size: 11px;
    padding: 4px 12px 6px;
    text-shadow: 1px 1px 0 #ffffff;
    float: right;
}
.main-form-block {
    background-color: #fff;
    
    padding: 0;
}
.credentials .answer-author {
    color: #223901;
}
.body-content > .row > #comments-container {
    padding: 30px 50px 50px;
}
.body-content > .row > .content-body >  #comments-container {
    
}
/*  all subjects page */
.subject-item-inner {
    border: 2px solid #536736;
    padding: 8px 10px;
    margin-bottom: 25px;
    border-radius: 8px;
}
.subject-item-inner > a,  .subject-item-inner > a:hover, .subject-item-inner > a:focus {
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    
}

.subject-item-inner .lsn-count {
    color: #000;
    padding: 2px;
    width: 50px;
    float: right;
}
.subject-item-inner i {
    color: #536736;
    margin-right: 10px;
}

#trainer-form {
    background-color: #B0F286;
    border: 2px solid #B0F286;
}
.trainer-inner {
    background-color: #fff;
}
.trainer-qu {
    background-color: #B0F286;
    padding: 1px 10px;
}
.trainer-qu > h4 {
    color: #000;
}
#trainer-form .radio {
    padding-left: 5px;
}
#trainer-form label {
    width: 100%;
}
.explanation {
    display: none;
    margin: 5px;
    min-height: 30px;
}
.explanation > span {
    padding-left: 10px;
}
.trainer-btn {
    margin: 5px;
}
.find-result-item {
    border: 1px solid #ccc;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);    
    margin: 5px 0;
}
/* Search page */
.find-result-title {
    background-color: #F5F5F5;
    padding: 5px;
}
.find-result-descr, .search-several-link{
    margin: 6px;
}
.search-several-link {
    clear: both;
    display: inline-block;
}
.search-several-link > .fa  {
    color: #66842a;
    margin: 0 6px 6px 6px;
}
.find-item-date {
    float: right;
}
.interact-block {
    padding: 15px;
    background-color: #66842a;
    color: #fff;
    margin: 7px 0;
}
.find-item-date > .fa {
    margin-right: 5px;
}

/* input at top header */
#searchform {
    float: right;
}
#searchform input[type="text"] {
    background: rgba(75, 43, 23, 0.2) none repeat scroll 0 0;
    border: 1px solid #9c6646;
    border-radius: 30px;
    color: #ffdcb7;
    font: italic 12px/14px Arial;
    height: 30px;
    margin-right: 25px;
    max-width: 305px;
    padding: 0 25px 0 15px;
    width: 165px;
}
#searchform input[type="submit"] {
    background: transparent url("images/bg_btn_search.png") no-repeat scroll left 0;
    border: medium none;
    height: 14px;
    opacity: 0.5;
    position: absolute;
    right: 33px;
    text-indent: -9999px;
    top: 8px;
    width: 14px;
}
/* END of Search page*/
/*  MEDIA  */
@media(max-width:1023px){
    .comment-form.main, .comments-not-found {
        padding: 10px 0;
    }
    .btn.btn-green {
        left: 50%;
        margin-left: -115px;
        position: relative;
    }
    div.jp-audio {
        width: 100%;
    }
    div.jp-audio div.jp-type-single div.jp-interface {
        height: 120px;
    }
    .jp-controls > li:last-child {
        position: absolute;
        left: 0;
        top: 70px;
        
    }
    .jp-controls > li:nth-child(4), .jp-controls > li:nth-child(5)  {
        position: absolute;
        top: 70px;
    }
    div.jp-audio div.jp-type-single a.jp-mute, div.jp-audio div.jp-type-single a.jp-unmute {
        margin-left: 5px;
        background-position: 1px -170px
    }
    div.jp-audio div.jp-volume-bar {
        left: 130px;
        top: 86px;
        width: 130px;
    }
    .lesson-tab-body-item > .item-wrapper {
        background-size: 100%;
        height: 435px;
        margin-bottom: 0;
        padding: 30px 5px 30px 5px;
    }
    .item-wrapper > div > p {
        font: 12px/14px "Verdana";
        height: 42px;
    }
    .item-wrapper > h2 {
        font: 18px/22px "Verdana";
        height: 44px;
    }
    .item-wrapper > div > a.btn-readmore-lesson {
        margin: 0;
    }
    .chiken > img {
        margin-top: -13px;
    }
    .tab-nav-arrow {
        display: none;
    }
    .nav-tabs-wrapper-outer {
        padding: 0;
            
    }
    .test-form > .form-group > div > label {
        width: 100%;    
    } 
    .navbar-inverse .navbar-nav > li a {
        margin: 0;
    }
}









@media(max-width:767px){
    .content-header > h1 > small {
        display: block;
    }   
    .find-item-date {
        float: none;
    }
    .container-wrapper {
        margin-left: 0;
        margin-right: 0;
    }
   
    .container.video-slider {
        margin-right: -15px;
    }
    .main-slider, #slider1_container  {
        height: 343px;
    }
    .slides-wrapper {
        height: 343px;
        width: 100%;
    }
    .jssora05l, .jssora05r, jssora06l, .jssora06r {
        top: 0%;
    }
    .slides-wrapper > div {
        padding: 0;
    }
    .slide-caption {

        font-size: 1.2em;
        width: 100%;
        height: 75px;
        padding: 5px 10px;
        margin-left: 0;
    }
    .last-lessons-image-block .thumbnail {
        min-height: 70px;
        min-width: 110px;
    }
    .vjs-default-skin .vjs-big-play-button {
        font-size: 2.2em;
    }
    .vjs-default-skin .vjs-big-play-button::before {
        left: 2px;
        font-size: 4em;
        line-height: 1em;
    }
    .lesson-tabs > .nav.nav-tabs > li > a, .lesson-tabs > .nav.nav-tabs > li.active > a {
        margin-bottom: 0;
        padding-bottom: 10px;
        overflow: hidden;
        font-size: 12px;
        padding-left: 45px;
    }
    .nav-tabs > li {
        margin-bottom: 5px;
        width: 33.3%;
    }
    .item-thumbnail, .lesson-item  {
        padding-left: 0;
        padding-left: 0;
    }
    
    
    .panel-body {
        padding: 4px;
    }
    .content-body {
        padding: 0;
        
    }
    .container.header {
        height: 175px;
    }
    .logo {
        height: 40px;
        background-image: url('../img/logo_min.png');
        left: 55px;
        
    }
    .dropdown-menu {
        left:0;
    }
    .navbar-toggle {
        margin-right: -22px;
        right: 86%;
    }
    .search-form-wrapper {
        position: absolute;
        top: 129px;
    }
    .container.header {
        background: url("../img/bg_topHeader3.png") no-repeat scroll center bottom;
    }
    .footer > .footer-image > .container > div{
        clear: both;
        left: 50%;
        margin-left: -37.5%;
        position: relative;
    }
    .social-networks, .footer-div p, .footer-div p a {
        text-align: center;
        float: none;
    }
    
    .secondary-menu {
        width: 100%;
    }
    .secondary-nav > li {
        height: 45px;
        display: inline-block;
    }
    
}

@media(max-width:1024px){
    .container.header {
        background-image: url("../img/bg_topHeader2.png");
    }
}

@media(max-width:439px){
    #searchform input[type="text"] {
        margin-right: 10px;
    }
    .secondary-nav > li {
        height: 25px;        
    }
    .logo {
        top: -70px;
        left: -5px;
    }
}

@media(max-width:479px){
     #thumbnail_slider {
        margin-left: -10px;
    }
    .content-body {
        padding: 0;
    }
    .main-slider, #slider1_container  {
        height: 185px;
    }
    .nav.nav-tabs {
        margin: 5px;
    }

    .nav-tabs > li {
        width: 50%;
        margin-bottom: 5px;
    }

    .lesson-tabs > .nav.nav-tabs > li.active > a {
        margin-bottom: 0;
        padding-bottom: 10px;
        overflow: hidden
    }

    .slides-wrapper {
        height: 185px;

    }
    .slide-caption {
        top: 115px !important;
    }
    .vjs-default-skin .vjs-big-play-button {
        font-size: 1em;
    }
    .vjs-default-skin .vjs-big-play-button::before {
        left: 2px;        
        line-height: 1em;
    }    
}
