

/* ===========================
    gru new tmplate:
==============================*/

.clearfix:before,
.clearfix:after {
  content: '';
  display: block;
  clear: both;
}

/* Media - modal content */
.grm-media-wrapper:before,
.grm-media-wrapper:after {
  content: '';
  display: block;
  clear: both;
}

.grm-media-wrapper * {
  box-sizing: border-box;
}

.grm-media-block {
  width: 100%;
}

.grm-media-block-box {
  padding: 24px;
  border: 3px solid #eee;
}

.grm-media-block-title {
    margin-top: 0;
    margin-bottom: 15px;
}

.grm-media-fieldset {
    margin: 0;
    margin-bottom: 15px;
}

.grm-media-fieldset:last-child {
    margin-bottom: 0;
}

.grm-media-fieldset input[type="text"],
.grm-media-fieldset select,
.grm-media-fieldset-inline input[type="text"],
.grm-media-fieldset-inline select {
  width: 100%;
  /* height: 30px !important; */
}

.grm-media-fieldset-row input[type="text"],
.grm-media-fieldset-row select {
  width: 90%;
  /* height: 30px !important; */
}

.grm-media-fieldset textarea,
.grm-media-fieldset-inline textarea {
  width: 100%;
  resize: vertical;
}

.grm-media-fieldset-row textarea {
    width: 90%;
    resize: vertical;
}

.grm-media-fieldset-block,
.grm-media-fieldset-row {
    margin-bottom: 15px;
}

.grm-media-fieldset-row:before,
.grm-media-fieldset-row:after {
    content: '';
    display: block;
    clear: both;
}

.grm-media-fieldset-block > label,
.grm-media-fieldset-row > label {
    font-weight: bold;
}

.grm-media-fieldset-row > label {
    padding-top: 7px;
}

.grm-media-fieldset-block.full {
    width: 100% !important;
    padding: 0 !important;
}

.grm-media-fieldset-block select {
  max-width: 100%;
}

#js-cpanel .grm-media-fieldset-block .grm-media-tooltip input {
    width: auto;
}

.grm-media-fieldset-inline {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 6px;
}

.grm-media-fieldset-inline input.ace-switch[type="checkbox"] + .lbl {
    margin: 0 !important;
}

.grm-media-fieldset-inline:last-child {
    margin-bottom: 0;
}

.grm-media-fieldset-inline:before,
.grm-media-fieldset-inline:after {
    content: '';
    display: block;
    clear: both;
}

.grm-media-fieldset-group > span .btn {
    margin-right: 0 !important;
}

.grm-media-video-details {
    padding-top: 15px;
}

.grm-media-video-details .creator-change-video {
    padding: 3px 4px;
    background-color: rgb(76, 200, 248);
    border-radius: 4px;
    color: white;
    transition: all 0.1s ease-in;
}

.grm-media-video-details .creator-change-video:hover,
.grm-media-video-details .creator-change-video:focus {
    text-decoration: none;
    background-color: #2EB3E7;
}

.grm-media-tooltip {
    position: relative;
}

.grm-media-tooltip input[type="text"],
.grm-media-tooltip select {
    padding-right: 30px !important;
}

.grm-media-progress {
    margin-top: 10px;
}

.grm-media-progress .progress {
    width: 100%;
    height: 4px !important;
}

.grm-checkbox {
    padding-top: 5px;
}

.grm-checkbox .lbl:before {
    margin-right: 5px !important;
    vertical-align: baseline !important;
}

.grm-media-fieldset-control .grm-checkbox .lbl:before {
    vertical-align: middle !important;
}

.grm-media-custom-size {
    display: inline-block;
    margin-top: 10px;
}

.grm-media-custom-size:before,
.grm-media-custom-size:after {
    content: '';
    display: block;
    clear: both;
}

.grm-media-custom-size .block-control {
    float: left;
}

.grm-media-custom-size .block-control.separate {
    padding-left: 10px;
    padding-right: 10px;
    line-height: 30px;
}

.grm-media-custom-size .block-control.addon {
    position: relative;
    padding-right: 30px;
}

.grm-media-custom-size .block-control.addon span {
    position: absolute;
    top: 0;
    right: 0;
    height: 30px;
    padding-left: 7.5px;
    padding-right: 7.5px;
    background-color: #eee;
    border: 1px solid #ddd;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    line-height: 30px;
    color: #878787;
}

.grm-media-custom-size .grm-checkbox {
    float: left;
    margin-right: 5px;
    vertical-align: top;
}

.grm-media-custom-size .grm-helper {
    float: left;
    padding-left: 10px;
}

.grm-media-tooltip span {
    position: absolute;
    top: 8px;
    right: 8px;
}

.grm-media-tooltip span img {
    vertical-align: top;
}

.grm-media-upload span {
    display: block;
    margin-top: 10px;
}

.grm-media-upload .max-upload {
    padding: 6px 8px;
    background-color: rgba(255, 0, 0, 0.1);
    border-radius: 4px;
}

.grm-media-upload .uploaded-file {
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.grm-media-file-list #localfile,
.grm-media-file-list #localfile_v,
.grm-media-file-list #localfile_a,
.grm-media-file-list #localfile_d,
.grm-media-file-list #localfile_f {
    width: 100% !important;
    height: 200px !important;
    background-image: unset;
    background-color: #fff;
}

.grm-helper {
    margin-top: 5px;
}

.grm-helper-text {
    color: #878787;
}

.grm-required {
    color: #ff0000;
}

@media (min-width: 61.9em) {
    .grm-media-block {
        float: left;
        width: 40%;
    }

    .grm-media-block:last-child {
        width: 60%;
        padding-left: 24px;
    }

    .grm-media-fieldset {
        padding: 24px !important;
        background-color: #f5f5f5;
    }

    .grm-media-fieldset-block {
        float: left;
        width: 50%;
        padding-right: 10px;
    }

    .grm-media-fieldset-block:nth-child(2n) {
        padding-left: 10px;
        padding-right: 0;
    }

    .grm-media-fieldset-block:nth-last-child(-n+3) {
        margin-bottom: 0;
    }

    .grm-media-fieldset-row label {
        float: left;
        width: 25%;
    }

    .grm-media-fieldset-row .row-control {
        float: left;
        width: 75%;
        padding-left: 20px;
    }

    .grm-media-fieldset-inline label {
        float: left;
        width: 20%;
    }

    .grm-media-fieldset-inline .grm-media-fieldset-control {
        float: left;
        width: 80%;
        padding-left: 15px;
    }

    .grm-media-fieldset-group {
        display: table;
        width: 100%;
    }

    .grm-media-fieldset-group > span:first-child {
        display: table-cell;
        width: 80%;
        padding-right: 15px;
    }

    .grm-media-fieldset-group span:last-child {
        display: table-cell;
        width: 20%;
    }
}


/* ===========================
    common
==============================*/
/* buttons */
/* button default*/


#js-cpanel a.modal {
  background: #4AA3DF;
  padding: 5px;
  border-radius: 4px;
  color: #fff;
  transition: all 0.15s;
  margin-right: 5px;
}

#js-cpanel a.modal:hover {
  background: #188DDB;
  text-decoration: none;
}

div#js-cpanel .g_btn {
    background: none repeat scroll 0 0 #7f8c8d !important;
    border: 1px solid #7f8c8d !important;
    border-radius: 4px !important;
    padding: 4px 12px !important;
    line-height: 21px !important;
    margin-right: 5px;
    color: #fff !important;
    text-shadow: none !important;
}

div#js-cpanel .g_btn-warning {
  background: none repeat scroll 0 0 #faa732 !important;
  border: 1px solid #faa732 !important;
  border-radius: 4px !important;
  padding: 4px 12px !important;
  line-height: 21px !important;
  margin-right: 5px;
  color: #fff !important;
  text-shadow: none !important;
  cursor: pointer;
  white-space: nowrap;
}

/* =======================================
    Layout
=========================================*/
div.container-fluid{
    padding-left: 0;
    padding-right: 0;
    top:0px !important;
}
.container-main{
    position: relative;
}
div.navbar{
    margin: 0;
}
div.navbar div.navbar-inner{
    min-height: 0;
}
#admin_content_wrapper{
    position: relative;
}


/*tables*/
table.adminform td,
#adminform table tr td{
    padding-bottom: 10px !important;
    padding-right: 10px !important;
    font-size: 14px !important;
    padding-left: 10px !important;
}

#adminform div.mceEditor table tr td,
#adminform div.mceEditor table.adminform td{
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}
div.mceEditor table.mceLayout td{
    padding: 0 !important;
}
/* =======================================
    position spesific
=========================================*/
/*  top ..............................*/

nav.navbar-fixed-top .navbar-inner{
    background-color: #13294A;
    background-image: linear-gradient(to bottom, #152D53, #10223E);
    background-image: -moz-linear-gradient(to bottom, #152D53, #10223E);
    background-image: -webkit-linear-gradient(to bottom, #152D53, #10223E);
    background-repeat: repeat-x;
    border-color: #0B172A;
    min-height: 0;
}
.navbar2 .navbar-inner{
    background: none repeat scroll 0 0 #47A9C6;
    border: 0 none;
    border-radius: 0 0 0 0;
    margin: 0;
}
.navbar2 .navbar-inner a{
    color: #fff;
}
.navbar2 .navbar-inner .nav-collapse.collapse{
    background: transparent;
}
/*  header ...............................*/
header.header{
    display: none;
}
.subhead-collapse.collapse{
    display: none;
}
/*  toolbar ..............................*/
.btn.btn-subhead{
    display: none;
}
/*  rating  */

#g_rating li a > span{
    display: none;
}


/*  guru nav .............................*/
/*  Side bar .............................*/
/*  main content .........................*/
/* alart */

/* page spesific 
======================================*/
/* guru */
div.statistic-zone > div > div.g_header_table{
    padding: 10px;
}
/* media library*/
#audioblock > td > table{
    width: 100% !important;
}
#g_mediaEdit_size input[type="radio"], #g_mediaEdit_size input[type="checkbox"]{
    margin-top: 0 !important;
}
#g_customMedia_size > td > div > div{
    margin-bottom: 5px;
}
/* kunena forum */
#g_kunena_forum table.adminform td{
    font-size: 14px !important;
}
#g_kunena_forum table.adminform tr > td:first-child{
    width: 40%;
}
#g_kunena_forum table.adminform td > div{
    padding: 10px;
    border-radius: 4px;
}
/* quize */
#quizzesincl > .table > th, 
#quizzesincl > .table > tbody > tr > td{
    border-top: none !important;
}
/* certificate */
#g_certificate_manager #design > div > table > tbody > tr:nth-child(2) td > img{
    padding: 10px;
}
/* content spesific
=====================================*/
/* buttons -> editors
-------------------------------------*/
div#editor-xtd-buttons .btn,
#js-cpanel div.toggle-editor .btn{
    background: none repeat scroll 0 0 #4aa3df !important;
    border: 1px solid #357DCE !important;
    border-radius: 4px !important;
    padding: 4px 12px !important;
    line-height: 21px !important;
    margin-right: 5px;
    color: #fff !important;
    text-shadow: none !important;
}
div#editor-xtd-buttons .btn:last-child,
#js-cpanel div.toggle-editor .btn:last-child{
    margin-right: 0 !important;
}
div#editor-xtd-buttons .btn:hover, 
#js-cpanel div.toggle-editor .btn:hover{
    background: none repeat scroll 0 0 #188DDB !important;
}
/* inputs append */
div#js-cpanel .input-prepend > .btn,
div#js-cpanel .input-append > .btn{
    border-radius: 4px 4px 4px 4px !important;
    line-height: 20px;
    margin-left: 10px;
    padding: 2px 3px !important;
}
/* table in cource */
table.adminform,
#prog_description .adminform, 
#prog_description .adminform > tbody > tr > td > table{
    width: 100% !important;
}
div#prog_metatags .adminform{
    width: 100% !important;
}
#adminForm .tab-content > .tab-pane > .adminform > tbody > tr > td{
    padding-bottom: 10px !important;
}
/*guru c panel basic information
...........................................*/
#g_basicInfo .infobox a{
    color: #fff;
}
div#js-cpanel div.infobox > .infobox-icon{
    margin: 5px 10px 0px -8px !important;
    width: 30px !important;
}
div#js-cpanel div.infobox > .infobox-icon > i{
    width: 100% !important;
}
#js-cpanel .infobox-dark > .infobox-icon > [class*="icon-"], 
#js-cpanel .infobox-dark > .infobox-icon > [class*="icon-"]:before{
    font-size: 25px !important;
}

/*exception*/
div#g_basicInfo div.g_inner_shell > div:first-child > .infobox > .infobox-data{
    font-size: 14px !important;
    font-weight: bold;
    margin-top: 0;
}
#js-cpanel .infobox-dark > .infobox-icon > i.js-icon-group, 
#js-cpanel .infobox-dark > .infobox-icon > i.js-icon-group:before{
    font-size: 22px !important;
}
div#js-cpanel .infobox > .infobox-icon > [class*="icon-"]{
    height: 34px;
}
/* variable tables */
.g_variables{
    margin-bottom: 15px;
    background: rgba(0,0,0,0.05) !important;
}
.g_variables > table{
    width: 50%;
}
.g_variables > table tr > td:first-child{
    border-bottom: 1px solid #FFFFFF;
    border-right: 1px solid #FFFFFF;
    padding-bottom: 5px;
    padding-top: 5px;
    width: 30%;
    padding-left: 10px;
}
.g_variables > table tr > td:last-child{
    border-bottom: 1px solid #FFFFFF;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    width: 70%
}

#js-cpanel .widget-toolbar > .dropdown > .dropdown-menu:after,
#js-cpanel .dropdown-menu.dropdown-caret:after {
  border-bottom: 6px solid #E5E7EB !important;
}

/* ICON PICKER */
.iconpicker-container .iconpicker-popover {
    width: 280px !important;
}

.iconpicker-container .iconpicker-search {
    width: 100%;
    height: 30px;
    box-sizing: border-box;
}

.iconpicker-container .picker-target {
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 38px;
    height: 28px;
    padding: 2px 4px;
    background-color: #eee;
    border-radius: 6px;
    text-align: center;
}

#toolbar [class^="icon-"], #toolbar [class*=" icon-"]{
    background-color: transparent !important;
}

.calendar-container .time-hours, .calendar-container .time-minutes{
    width: auto !important;
}

.modal-header .close{
    line-height: unset !important;
}

.modal{
    z-index: 1020!important;
}
.modal.in, .modal.show{
    z-index: 1050!important;
}

#myModal{
    bottom: 5%;
}

#system-message-container {
    display: block;
    position: absolute !important;
    z-index: 99999 !important;
    right: 10px;
    top: 10px;
}

#js-cpanel .table thead tr {
    --table-bg: #34495e;
}


/* Improve style */
#js-cpanel .page-header #toolbar .btn:hover,
#js-cpanel .page-header #toolbar .btn:focus,
#js-cpanel .page-header #toolbar .btn:active {
  background: #d1d5db !important;
}

#js-cpanel .page-header #toolbar .btn.btn-success {
  background: #16a34a !important;
  color: #fff;
}

#js-cpanel .page-header #toolbar .btn.btn-success [class^="icon-"],
#js-cpanel .page-header #toolbar .btn.btn-success [class*=" icon-"] {
  color: #fff;
}


/* JOOMLA 4
------------------------------------------ */
.com_guru #js-cpanel.guru-j4 #limit {
  /* background: url(../images/select-bg.svg) no-repeat 100%/116rem; */
  background-color: #f0f4fb;
  border-radius: 4px;
  padding: 10px 26px 10px 8px;
  height: auto;
  width: auto;
}