/*
Theme Name: Jorum KUBE
*/
@import url("../editor-style-shared.css") screen;
@import url("../easy-responsive.css") screen;
@import url("../themed-collections.css") screen;
@import url("../homepage.css") screen;
@import url("../inners.css") screen;

/*** Basic setup and overrides ***/

html, body {
    font-family: "Open Sans",sans-serif;
    font-style: normal !important;
    font-weight: 200 !important;
    font-size: 11pt;
    text-rendering: optimizelegibility;
    margin: 0px;
    padding: 0px;
    background-color: #D4DFE1 !important;
    text-align: center;
    line-height: 1.5em !important;

}

body {
    margin: 0 0 10px 0 !important;
    
}

div {
    
}

/*@media only screen and (max-width: 767px) {
    html {
        font-size: larger;
    }
}*/

h1,h2,h3,h4 {
    font-weight: 200;
    text-align: left !important;
    margin: 0 0 10px 0;
    padding: 0;
}

h1 {
    font-size: 150%;
}

h2 {
    font-size: 130%;
}

h3,h4 {
    font-size: 115%;
}

a {
    text-decoration: none;
    color: #0092CB;
}

a:hover {
    color: #ED8A5C;
    text-decoration: underline;
}

li:not(.entry-content) {
    list-style: none;
}
.entry-content li {
    list-style: disc;
}
/**,
*:before,
*:after {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
*/
.page {
    max-width: 1170px;
    text-align: center;
    margin:auto;
 
}

/*** End basic setup and overrides ***/

.wrap {
    margin: auto;
    text-align: left;
}

.units-row {
/*    float: left;
    width: 100%;
    clear: both;*/
}

/*** Navigation and top search ***/



header#header {
    width: 100% !important;
    text-align: center; 
    position: relative;
    background-color: #000;
    z-index: 9999;
}

header#header #site-search {
    float: right;
}

    @media screen and (max-width: 767px) {
        header#header #site-search {
            float: left;
        }
    }  

header#header #site-search span {
    display: none;
}

header#header .search-field {
    padding: 3px;
    border-radius: 3px;
    width: 207px; /*** should actually be 195 ***/
    line-height: 1.5em; 
    font-size: 11pt;
    border: 1px solid #CCC;       
}

header#header .search-form {
    margin: 0;
}

header#header .search-form span {
    display: inline;
}    

.navigation-target-show form {
    margin: 0 0 10px 10px !important;
}


    /*** FA ICONS ***/
    header#header i.fa {
        float: left;
        margin-right: 5px;
        display: none;
        color: #FFF;
        margin-top: .5em;
    }

        @media screen and (max-width: 767px) {
            header#header i.fa {
                display: inline;
            }
        }    

    /*** NavBar ***/

    header#header #navbar {
        float: none;
        min-height: 50px;
        padding: 10px 0px 0px;
        background-color: #000;
        max-width: 1170px;
        position: relative;
        margin: 0px auto;
        text-align: left;
    }

    header#header #navbar ul {
        float: left;
        width: auto;
        text-align: center;
        margin-left: 10px;
    }

    header#header #navbar li a {
        color: #FFF;
        
    }

    header#header #navbar li {
        margin: 0.5px 2em 0px;
        font-size: 12pt;
        float: left;
    }

        @media screen and (max-width: 767px) {
            header#header #navbar li  {
                width: 100%;
                margin: 0 0 1em 0;
                vertical-align: middle;
            }
        }  

    header#header .mobile-logo {
        float: left;
        height: inherit;
        margin: 0px 20px 0px 10px;
    }
        @media screen and (max-width: 767px) {
            header#header .mobile-logo  {
                display:none;
            }
        }     

    header#header .mobile-logo img {
        height: 25px !important;
        padding: 0px;
        margin: 0px;
    }



    header#header .navigation-toggle span {
        max-height: 100px;
        min-height: 40px;
    }

    header#header .navigation-toggle img {
        max-height: 20px;
        z-index: -1;
        float: right;
    }

.navigation-toggle:after {
  content: "";
 /*-webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;  
*/
}

.navigation-toggle .btn-toggle {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 10px;
  top: 5px;
  font-size: larger;
}

/*** End Navigation and top search ***/

/*** Fat Footer ***/

footer#footer {
    width: 100%;
    min-height: 300px;
    text-align: center;
    background-color: #2D3740;
    box-shadow: 0px 20px 15px -10px #4A4A4A inset;
    left: 0px;
    bottom: 0px;
    z-index: 2;
    font-size: 90%;
    color: #fff;
    padding-bottom: 1px;
    /*position: absolute;*/
}

footer ul {
    list-style: outside none none;
    margin: 0 0 0 0 ;
    color: #FFF;
    padding: 0 0 0 10px;
    line-height: 1.5em;
}

footer li {
    padding-left: 10px;
}

footer a {
    color: #FFF;
}

    footer a:hover {
        color: #0092CB;
    }

footer h1, footer h2, footer h3 {
    color: #FFF;
}

footer .bottom-divider {
    height: 20px;
    background-color: #ECEEEF;
}

.site-licence-holder {
    position: relative;
    margin: 0 auto 10px auto;
    text-align: left;
    font-size: 90%;
    padding: 0 0 0 0px;
    text-align: left;
}

.site-licence-holder .license a, .site-licence-holder .license div {
    float: left;
}

footer .site-licence-holder a {
    color: #FFF;
}

footer .site-licence-holder img {
    height: 30px;
    margin-right: 10px;
    float: left;
}

footer .site-licence-holder span {
    
    color: #fff;
}

footer .site-licence-holder {
    position: relative;
    width: 100%;
    text-align: left;
}

footer .site-licence-holder .units-row {
    padding: 0 0 0 20px;
}

footer .site-licence-holder .licence {
    margin: 10px 0 0 20px;
}

footer#footer .licence-text {
    overflow: hidden;
    float: left;
}

    @media only screen and (max-width: 767px) {
        footer#footer .site-licence-holder .licence {
            padding: 0 0 0 10px;
            margin: 0;
        }
    }

/*** End Fat Footer ***/

/*** Top box (Jumbotron) ***/

.jumbotron {
    position: relative;
    top: 0;
    width: 100%;
    color: #FFF;
    padding: 10px !important;
}

.jumbotron h1, .jumbotron h2, .jumbotron h3 {
    color: #FFF;
}

.jumbotron h2 {
    margin: 1rem 0 1rem 0;
    line-height: 2rem;
}

.jumbotron .unit-30 img {
    max-height: 200px;
}

.main-search-box {
        padding: 10px 20px 10px 20px;
}

.jumbotron .search-notes {
    padding: 10px 0;
    font-size: small;
    color: #FFF;
}

.jumbotron .search-notes {
    display: none;
}

.jumbotron .cta {
    text-align: center;
}

.jumbotron .search-footer {
    padding: 1rem 0 1rem 0;
}

.jumbotron .search-footer a {
    color: #FFF;
    font-weight: 400 !important;
    padding: 1rem 0 1rem 0;
}

    @media only screen and (max-width: 767px) {
        .jumbotron .cta img {
            display: none;
        }

        .jumbotron h2 {
            font-size: smaller;
        }
    }


/*** End Top box (Jumbotron) ***/

/*** Jorum Colours *******/

.bg-black {
    background-color: #000 !important;
}

.bg-blue {
    background-color: #0092CB !important;
}

.bg-red {
    background-color: #EF3825;
}

.bg-purple {
    background-color: #552481 !important;
    color: #FFF !important;
}

.bg-orange {
    background-color: #ED8A03;
}

.bg-rss {
    background-color: #FF7F00;
}

.fg-black {
    color: #000;
}

.fg-blue {
    color: #0092CB;
}

.fg-red {
    color: #EF3825;
}

.fg-purple {
    color: #552481;
}

.fg-orange {
    color: #ED8A03;
}

/*** End Jorum Colours ***/

/*** Kube Overrides ***/

.units-row {
    padding: 0;
    margin: 0;
    text-align: left;
    margin-bottom: 20px;
    /*box-sizing: content-box;*/
}

.units-container {
    
}

.featured-news-latest .unit-33 {
    background-color: #FFF;
    position: relative;
    height: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px 20px 10px 40px;

}

.featured-news-latest .box-content .homepage-icon {
    height: 100px;
    width: 100px;
    float: right;
    background-color: #0091CB;
    background-position: center;
    background-size: 100px 100px;
    background-repeat: no-repeat;
} 

.featured-news-latest .box-content img {
    max-width: 100px;
    margin: 0 0 1em 1em;
    float: right;
}

/*.unit-33.hp-featured-resource img {
    width: 100% !important;
    max-width: 100%;
 }*/

    @media only screen and (max-width: 767px) {
        .featured-news-latest .unit-33 {
            height: auto;
            clear: both;
            display: block;
            float: left;
            padding: 30px 10px 10px 10px;
        }
    }

.box {
    float: left;
    position: relative;
    clear: both;
    min-height: 100px;
    margin-bottom: 20px;
    padding: 10px 10px 10px 40px;
    background-color: #ECEEEF;
    width: 100%;
}

.box .title, .featured-news-latest div[class^='unit-'] .title {
    color: #FFF;
    font-weight: normal;
    left: 0px;
    letter-spacing: 1px;
    line-height: 2rem;
    padding: 0px 7px;
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    top: 0px;
    z-index: 1;
    white-space: nowrap;
    float: left;
/*    transform: rotate(-90deg) translate(-100%, 0%);
    transform-origin: 0px 0px 0px;*/

    -ms-transform: rotate(90deg); /* IE 9 */
    -ms-transform-origin: -100% 0%; /* IE 9 */
    -webkit-transform: rotate(-90deg) translate(-100%,0%); /* Chrome, Safari, Opera */
    -webkit-transform-origin: 0 0 0; /* Chrome, Safari, Opera */    
    transform: rotate(-90deg) translate(-100%, 0%);
    transform-origin: 0 0 0;    

}    

.title.single {
    width: 200px;
}

.featured-news-latest div[class^='unit-'] .title .fa {
    display: none;
}

    @media only screen and (max-width: 767px) {
        .featured-news-latest div[class^='unit-'] .title {
            transform: none;
            width: 100%;
            clear: both;  
            float: left;  
            margin-bottom: 1rem;        
        }

        .featured-news-latest .box-content {
            margin-top: 1rem;
            display: none;
        }

        .featured-news-latest div[class^='unit-'] .title .fa {
            display: inline;
            float: right;
            padding: 5px;
        }        
    }

.box-content {
    padding: 0px 0px 10px;
    float: left;
    width: 100% !important;
    text-overflow:ellipsis;
    position: relative;
}

    .hp-featured-resource .read-more, .hp-news .read-more {
        display: none;
        position: absolute;
        bottom: 0;
        padding: 5px 0 5px 10px;
        float: left;
        width: 100%;
        z-index: 1;

        background: #0092CB;
    }

    .hp-featured-resource .read-more a, .hp-news .read-more a {
        color: #FFF;
    }

.featured-news-latest img {
    max-width: 370px;
}
/*** End Kube Overrides ***/

.alignright {
    float: right;
    margin: 0 0 0 10px;
    clear: both;
}

.alignleft {
    float: left;
    margin: 0 10px 0 0;
    clear: both;
}
