
/*== COLOR ==============================================================================================================================================*/
body,
.navbar-default ,
.card-primary>.card-header,
.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover,
.herotitle img,
.avatar,
.pagemenu,
.grid .grid-preview .caption,
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary,
.btn-primary
{
    background-color: var(--main)
}

#page-wrapper {
    background-color: var(--colorbody)
}

.navbar-default,
.card-primary,
.card-primary>.card-header,
.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover,
.page-title,
.bootstrap-switch.bootstrap-switch-focused,
.btn-primary
{
    border-color: var(--main)
}

h1,
h2,
.grid-item h3,
.pagination>li>a,
.pagination>li>span,
.modal-dialog,
a
{
    color: var(--main)
}

.nav>li>a:focus,
.nav>li>a:hover,
.nav .open>a, .nav .open>a:focus, .nav .open>a:hover,
.sidebar ul li a.active,
.navbar-top-links li.active a,
.nav-pills>li.active>a,
.nav-pills>li.active>a:hover,
.nav-pills>li.active>a:focus,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus
{
    background-color: var(--dark) !important;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus
{
    border-color: var(--dark)  !important;
}

.form-control:focus
{
    border-color: var(--light)
}
.form-control:focus,
.bootstrap-switch.bootstrap-switch-focused {
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba({{ color['lightrgb']['r'] }},{{ color['lightrgb']['g'] }},{{ color['lightrgb']['b'] }},.6)
}


a:hover,
a:focus,
.pagination>li>a:hover
{
    color: var(--dark)
}

.header a,
.littleheader a,
.navbar-default .navbar-brand,
.navbar-default a,
.sidebar a,
.pagemenu a,
.grid .grid-preview .caption,
.grid .grid-preview .caption h1 {
    color: var(--fontcolorhover)
}

.header a:hover,
.littleheader a:hover,
.navbar-default .navbar-brand:focus,
.navbar-default .navbar-brand:hover,
.navbar-default a:hover,
.pagemenu a:hover  {
    color: var(--fontcolorhoverdark)
}

.dropdown-submenu a
{
    color: var(--main)
}  

/*== FONT ===============================================================================================================================================*/

.header .title,
.card-header,
.widgetheader,
#navbarsmalltitle,
h1 {
    font-family: var(--fontfacetitle);
}

body, 
.slick .slicksubtitle,
.slick .slicklink {
    font-family: var(--fontfacebody);
}


/*== GLOBAL =============================================================================================================================================*/

html {
     height: 100% 
}

body.simple { 
    background-color: transparent;
}

body {
    padding-right: 0 !important 
}

#loader {
    text-align:center;
    margin-top:100px;
}

.imageshadow {
    filter: drop-shadow(1px 1px 1px #222);
}

a {
    cursor: pointer;
    text-decoration: none;
}

.card {
    margin-bottom:15px;
}

/*== HEADER =============================================================================================================================================*/
.header, .header a, .header h1 {
    color: var(--fontcolorhover);
    text-decoration: none;
}

.header {
    background-size: cover;
}

.header .logo{
    text-decoration: none;
    margin:0px;
    float:left;
}    

.header .logo:nth-of-type(1){
    margin-left:10px;    
}

.header h1 {
    line-height: 30px;
    margin: 0;
    padding-left: 10px;
    padding-top: 15px;
    text-transform: uppercase;
}

.header h1 small {
    font-size: 60%;
}

.header .nav-link {
    padding: 0px 2px;
    display: flex;
    align-items: center;
}

.header .nav-link i {
    font-size: 30px;
}

.header .nav-nameuser {
    text-align: right;
    font-size: 90%;
}

@media (max-width: 767px) {
    .header { display: none !important}

}

/*== LITTLEHEADER =============================================================================================================================================*/

.littleheader, .littleheader a, .littleheader h1 {
    color: var(--fontcolorhover);
    text-decoration: none;
}

.littleheader {
    background-size: cover;
    background-color: var(--main);
    height:50px;
}

.littleheader #logo{
    text-decoration: none;
    margin:0px;
    float:left;
    height: 35px;
} 

.littleheader #logo:nth-of-type(1){
    margin-left:10px;    
}

.littleheader h1 {
    text-transform: uppercase;
    font-size:20px;
    margin: 0;
    padding-left: 10px;    
}

.littleheader .nav-link {
    padding: 0px 2px;
    display: flex;
    align-items: center;
}

.littleheader .nav-link i {
    font-size: 30px;
}

@media (max-width: 767px) {
    .littleheader{ display: flex  !important}
    .littleheader h1{ display: none }
    .littleheader #nav-switch{ display: none }

}

/*== MENU =============================================================================================================================================*/
#showmenu {
    display:none;
}

#menu {
    display:flex;
    height:40px;
}
#menu.hide, #menu.show{
    display: flex;
}

#menu {
    padding: 0px 10px;
}

#menu, #menu a {
    color: var(--fontcolorhover);
    text-decoration: none;
    line-height:18px;
    display: flex;
    align-items: center;
}

#menu i {
    margin-right:5px;
}

#menu a:hover {
    color: var(--fontcolorhoverdark);
}

#menu .nav-link {
    padding: 5px 10px;
}

#menu .nav-link.active {
    background-color: var(--dark) !important;
    border-bottom: 5px solid var(--fontcolorhover);
}

#menu .dropdown-menu li {
    padding: 5px 15px;
}

#menu .dropdown-menu a {
    color: var(--fontcolor);
}

#menuaction {
    font-size:20px;
    padding-left:5px;
}

#menuname {
    padding-right: 5px;
    text-align: right;
}

@media (max-width: 991px) {
    #menuname {
        display:none !important;
    }
}

@media (max-width: 767px) {
    #showmenu {
        display:flex;
    }

    #menu, #menu.hide  {
       display: none;
    }
    
    #menu .nav-link {
        width:100%;
    }


    #menu.show  {
        display: flex;
    }

    #menu{ 
        flex-direction: column;
        height:auto;
    }

    #menu, #menu a {
        align-items: unset;
    }

    #menupage {
        flex-direction: column;
        align-items: flex-start !important;
    }

    #menuuser {
        flex-direction: column;
        align-items: flex-start !important;
    }

    #menugroup {
        flex-direction: column;
        align-items: flex-start !important;
    }

    #menuaction {
        padding-top:15px;
    }    
}

/*== SIDEBAR ============================================================================================================================================*/

#showsidebar {
    display:none;
}

#sidebar.hide, #sidebar.show{
    display: flex;
}

#sidebar a {
    color: var(--fontcolorhover);
    text-decoration: none;
    display: block;
}

#sidebar .active {
    background-color: var(--dark) !important;
}

@media (max-width: 767px) {
    #showsidebar {
        display:flex;
    }

    #sidebar, #sidebar.hide  {
       display: none;
    }
   
    #sidebar.show  {
        display: flex;
    }
    
    main {
        flex-wrap: wrap;
    }
}  

/*== AVATAR ============================================================================================================================================*/

.avatar {
    width: 40px;
    border-radius: 100%;
}

.avatar.big{
    width: 90px;
    margin-bottom: 10px;
}

/*== PAGE-WRAPPER =======================================================================================================================================*/
#page-wrapper {
    border:none;
    background-color: var(--colorbody);
    padding: 0px 30px 100px 30px;
}

.page-header {
    padding: 0px 0px 0px 0px !important;
}

.page-maxed {
    max-width:1500px;
    margin:auto !important;
    padding: 0px 30px 100px 30px !important;
}

.page-title {
    margin-top:30px;
}


/*== SORTABLE ===========================================================================================================================================*/

.placeholder {
    border: 2px dotted #3498db;
}


/*== LIST CONFIG ========================================================================================================================================*/

.category-list-item {
    min-height: 30px;
}

.list-item {
    min-height: 50px;
    margin-top: 5px;
    color:#ffffff;
    border-radius: 0px;
    margin-bottom: 0px;                    
}

.list-item .card-header,
.list-item .card-header a{
    color:#ffffff;
    font-size: 22px;
    padding-bottom: 0px;
}

span.item-drag {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1000;
    width: 32px;
    background: rgba(0,0,0,.1);
    line-height: 35px;
    height: 32px;
    text-align: center;
    color: #fff;
    transition: background .2s;
    border-radius: 0 0 10px 0;
}


/*== SELECT2 ============================================================================================================================================*/

.select2-container {
    width: 100% !important;
}

/*== GRID ===============================================================================================================================================*/

.grid {
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
    /*width: 100%;*/
    min-height: 30px;
    background: transparent;
}

.grid-gutter-sizer { width: 5px }

.grid-title {
    background: transparent;
    cursor: pointer;
    padding-top: 10px;
    margin:0px;
}

.grid .grid-item,
.grid .grid-sizer {
    float: left;
    margin: 5px 0px 0px 0px;
    padding: 0px;
    width: 290px;
    height: 150px;
    text-align: center;
    position: relative;
    display: block;
}
.grid-sizer {
    display: none !important;
}

.grid-item .grid-item-content:hover {
    opacity: 0.8;
}

.grid-item .item-link {
    width: 100%;
    align-items: center;
    justify-content: center;
    font-size: 18px !important;
    color: #fff;
    display: block;
    text-align: left;
    height: 150px;
    text-decoration: none;

}

.grid-item .grid-item-content a {
    color: #fff;
    text-decoration: none;
}

.grid-item-content a:hover {
    text-decoration: none;
}

.grid-item .item-link {
    text-decoration: none !important;
}

.grid-item-logo {
    display: inline-block;
    width: 40%;
    vertical-align: middle;
    text-align: center;
}

.grid-item .item-link img {
    display: block;
    margin: 10px;
    height: 105px;
}



.grid-item .grid-item-title {
    display: inline-block;
    vertical-align: top;
    padding: 0px 5px;;
    font-size: 12px;
    width: 50%;
    line-height: 1;
}

.grid-item .grid-item-title h2 {
    font-size: 17px;
    margin: 10px 0 0 0;
    border-bottom: 1px solid #fff;
    padding-bottom: 5px;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: #fff;
    word-wrap: break-word;
}


a.item-preview {
    display: none;
    position: absolute;
    right: 0px;
    top: 5px;
    width:20px;
    z-index: 1000;
}

a.item-update {
    display: none;
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 1000;
}


a.item-restaure {
    display: none;
    position: absolute;
    right: 25px;
    top: 5px;
    z-index: 1000;
}

a.item-delete {
    display: none;
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 1000;
}

a.item-heart {
    display: none;
    position: absolute;
    left: 5px;
    top: 5px;
    z-index: 1000;
}

.grid-item-body {
    height:200px;
    overflow-y:auto;
    text-align: left;
    padding:15px;
    line-height: 15px;
    color: #fff;
}

.grid .grid-medium {
    width:150px;
    height:200px;
}

.grid .grid-medium .item-link {
    height:200px;
}

.grid .grid-medium .grid-item-logo {
    display: block;
    width:auto;
    padding-top:10px;
}
.grid .grid-medium .grid-item-logo img {
    height: 80px;
    width: auto;
    margin: auto;
}
.grid .grid-medium .grid-item-title {
    display: block;
    vertical-align: top;
    font-size: 12px;
    line-height: 1;
    text-align:center;
    width: 100%;
}

.grid .grid-small  {
    width:100px;
    height:130px;
}

.grid .grid-small .item-link {
    height:130px;
}

.grid .grid-small .grid-item-logo {
    display: block;
    width:auto;
    padding-top:10px;
}
.grid .grid-small .grid-item-logo img {
    height: 60px;
    width: auto;
    margin: auto;
    max-width: 85%;
}
.grid .grid-small .grid-item-title {
    display: block;
    vertical-align: top;
    font-size: 12px;
    line-height: 1;
    text-align:center;
    width: 100%;
}
.grid .grid-small .grid-item-title h2 { 
    font-size:10px;
    border-bottom: none;
    max-height: 55px;
    overflow-y: hidden;
}
.grid .grid-small .grid-item-title span { display: none }


.grid .grid-verysmall  {
    width:80px;
    height:105px;
}

.grid .grid-verysmall .item-link {
    height:105px;
}

.grid .grid-verysmall .grid-item-logo {
    display: block;
    height:40px;
    width:auto;
}
.grid .grid-verysmall .grid-item-logo img {
    height: 40px;
    width: auto;
    margin: 10px auto;
}
.grid .grid-verysmall .grid-item-title {
    display: block;
    vertical-align: top;
    font-size: 12px;
    line-height: 1;
    text-align:center;
    width: 100%;
}
.grid .grid-verysmall .grid-item-title h2 { font-size:10px; border-bottom: none; }
.grid .grid-verysmall .grid-item-title span { display: none }


.grid .grid-list  {
    width:100%;
    height:auto;
}

.grid .grid-list .item-link {
    height:auto;
}

.grid .grid-list .grid-item-logo {
    height:auto;
    width:30px;
    float:left;
    padding: 0px;
    margin: 10px
}
.grid .grid-list .grid-item-logo img {
    height: 30px;
    width: 30px;
    margin: 0px;
}
.grid .grid-list .grid-item-title {
    padding: 5px;
    vertical-align: top;
    font-size: 12px;
    line-height: 1;
    text-align:left;
    width:auto;
    position: absolute;
    top: 0px;    
}
.grid .grid-list .grid-item-title h2 { font-size:18px; border-bottom: none; line-height: 40px; height: 40px; overflow: hidden; margin:0px}
.grid .grid-list .grid-item-title span { display: none }


/* Grid Image */
.grid .grid-image  {
    width:19.2%;
    height:auto;
    /*margin: 1% 0px 0px 0px;*/
}

.grid .grid-image .item-link {
    height:auto;
}

.grid .grid-image .grid-item-logo {
    display: block;
    height:auto;
    width:auto;
    padding:0px;
}
.grid .grid-image .grid-item-logo img {
    height: auto;
    width: 100%;
    margin: auto;
    max-height:none;
}

.grid-gutter-sizer-image  { width: 1% }


/* Preview */
.grid .grid-preview  {
    width:19.2%;
    min-width:185px;
    height:auto;
    text-align: left;
}    

.grid .grid-preview .caption { padding: 9px }
.grid .grid-preview-gutter-sizer  { width: 1% }

.grid .grid-preview a:hover {
    text-decoration: none;
}

.grid .grid-preview .item-link {
    height:auto;
}

.grid .grid-preview .grid-item-logo {
    display: block;
    width:100%;
    padding: 0px;
    height: auto;
}
.grid .grid-preview .grid-item-logo img {
    width: 100%;
    margin: 0px;
}

.grid .grid-preview .grid-item-title {
    margin:0px;
    font-size:14px;
    text-align:left;
    word-wrap: break-word;
    width: 100%;
    display: block;
    line-height: 14px;
    padding: 0px;
}

.grid .grid-preview .grid-item-title h2 {
    border: none;
    margin: 0px;
    padding: 0px;
    font-size: 18px;
}

.grid .grid-preview .grid-item-title small {
    margin-bottom: 10px;
    font-size:9px;
}

@media (max-width: 991px) {
    .grid .grid-preview  {
        width:32.666666667%;
        height:auto;
    }                    

    .grid .grid-image  {
        width:32.666666667%;
        height:auto;
    }
} 

@media (max-width: 767px) {
    .grid .grid-preview  {
        width:49.5%;
        height:auto;
    } 

    .grid .grid-image  {
        width:49.5%;
        height:auto;
    }
} 

/*== PAGE ===============================================================================================================================================*/

#menupageaction { 
    float: right;
    font-size: 20px;
    margin: 5px 15px 0px 0px
}

.pagemenu {
    display: block;
    margin: 0px -30px;
    padding: 0px 30px;
    font-size:20px;
    height: 40px;
    line-height: 40px;
}

/*== WIDGET =============================================================================================================================================*/

.widgetplacehorder {
    height:50px;
    border: 2px dotted #3498db;
    background-color:#cdcdcd;
}

.widgetempty {
    height: 1px;
}

.widget {
    margin-top:30px;
}

.widget-mini {
    display: inline-block;
    height:50px;
    width:50px;
    margin-top:0px;
}

.widgetmenu {
    float: right;
    margin-top: 10px;
    display:none;
    position:relative;
    padding-right: 15px;
    z-index:100;
}

.widgetmenu i {
    font-size :20px;
}

.widgetheader {
    font-size: 30px;
    height: 50px;
    line-height: 50px;
    text-transform: uppercase;
}

.widgetheader .logo {
    position: absolute;
    height:40px;
    width:40px;
    margin: 5px;
    cursor: pointer;
}

.widgetheader .title {
    position: absolute;
    margin-left:50px;
    cursor: pointer;
    font-size: 1.5vw;
    height: 50px;
    overflow-y: hidden;
}

.widgetheader iframe,
.widgetbody iframe {
    width:100%;
    border:0px;
}    

.widgetbody img {
    max-width: 100%;
}

.widget-ckeditor img {
    height:auto !important;
}


.frameitem {
    position: absolute;
    right: 0px;
    width:100%;
    border:0px;
    height:100%;
}

@media (max-width: 991px) {
    .widgetheader .title {
        font-size: 25px;
    }
}

/*== BREADCRUMB =========================================================================================================================================*/

.breadcrumb {
    background-color: #fff;
    border-radius: 6px;
    padding: 5px;
}

/*== PICK-A-COLOR =======================================================================================================================================*/

.pick-a-color-markup .input-group-addon{
    padding: 10px 12px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: table-cell;
    white-space: nowrap;
    vertical-align: middle;
    border-collapse: separate;
}

.pick-a-color-markup .input-group-btn  {
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.pick-a-color-markup .input-group-btn button {
    padding: 5px 12px 4px 12px !important;
}

/*== FEED ===============================================================================================================================================*/

.cat-list-feed {
    display: inline-block;
    padding: 8px;
    margin-top: 5px;
    cursor:pointer;     
}

.feed .description {
    width: 70%;
    float: right;
    margin-top: 5px;
    background: rgb(0,0,0,0.6);
    padding: 10px;
    font-size: 11px;
    max-height: 110px;
    overflow-y: hidden;
}     


/*== SLICK===============================================================================================================================================*/

.slick {
    width:100%;
    height:100%;
    position:relative;
}
.slick div{
    width:100%;
    height:100%;
    background-size: cover;
    background-position: center;
    color:#fff;
}
.slick .slicktitle {
    text-align: left;
    margin: 30px 0px 0px 50px;
    padding: 15px;
    background-color: rgb(0,0,0,0.4);
    display: inline-block;
    float: left;
}

.slick .slicksubtitle,
.slick .slicklink 
{
    margin: 5px 0px 0px 50px;
    padding: 15px;
    background-color: rgb(0,0,0,0.4);
    font-size: 15px;
    text-transform: initial;
    float: left;
    clear: both;
    line-height: 15px;
}




/*== BLOG ===============================================================================================================================================*/


.blogarticle {
    margin-bottom:150px;
}

.blogarticle .blogtitle h1{
    text-align:left
}

.blogarticle .blogimage {
    width:100%;
    height:450px;
    background-size:cover;
    background-position: center;
    margin-top:20px;
}

.blogarticle .blogtitle {
    margin-bottom:20px;
}

.blogarticle .blogtitle legend {
    margin-bottom:0px;
}

.blogarticle .blogbody img{
    max-width: 100%;
}

.blogarticle .blogbody {
    font-size: 18px;
}

.blogarticle .blogsidebar {
    border-left: 1px solid #e5e5e5;
    margin-top: 20px;
}

.blogarticle .blogsidebartitle {
    margin-bottom:0px;
}


/*== PROJECT ============================================================================================================================================*/

.projecttask {
    margin-bottom:150px;
}

.projecttask .projecttitle h1{
    text-align:left
}

.projecttask .projectimage {
    width:100%;
    height:450px;
    background-size:cover;
    background-position: center;
    margin-top:20px;
}

.projecttask .projecttitle {
    margin-bottom:20px;
}

.projecttask .projecttitle legend {
    margin-bottom:0px;
}

.projecttask .projectbody img{
    max-width: 100%;
}

.projecttask .projectbody {
    font-size: 18px;
}

.projecttask .projectsidebar {
    border-left: 1px solid #e5e5e5;
    margin-top: 20px;
}

.projecttask .projectsidebartitle {
    margin-bottom:0px;
}

