.agency_name {background:url('https://etsdev.www.ok.gov/triton/skins/g4_custom/oesc/oesc.png') no-repeat 0 .4em; 

background-size: 7.6em;
padding:2.4em 0 1.6em 0;}

#centerthisthing span {
   top:0.4em;
   position:relative;
   right:-1em;
   font-size:17.6pt !important;
}

.agency_name {width:70em; height:5em; top:0em; position:Relative; right:1em;}

.agency_name span {padding-left:3.6em; display:inline-block;}



@media (max-width:767px) {  
.agency_name {width:30em; height:7em; bottom:1em; position:Relative; top:1.05em; right:3em;}


.agency_name {background:url('https://etsdev.www.ok.gov/triton/skins/g4_custom/oesc/oesc.png') no-repeat  1.3em; 
background-size:24%; 
padding:2.6em 0 1.6em 0;}

.agency_name span {padding-left:3.9em ; display:inline-block;width:12em;  }



 }


 @media (max-width:480px) {

.agency_name {background:url('https://etsdev.www.ok.gov/triton/skins/g4_custom/oesc/oesc.png') no-repeat 0 1.5em; height:10em;  
background-size:28%;
padding:0em 0 1.6em 0;}
.agency_name span {padding-left:3.3em; display:inline-block;width:4em; }


#centerthisthing  {
   bottom:2em; line-height:.3;
   position:relative;
   right:-2.5em;
   
}


}



/*region Side Nav Menu Styling*/
/* Side nav menu styling */
@charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Lato);
/* Base Styles */
#cssmenu,
#cssmenu ul,
#cssmenu li,
#cssmenu a {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    font-weight: normal;
    text-decoration: none;
    line-height: 1;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    position: relative;
}
#cssmenu a {
    line-height: 1.3;
    padding: 6px 15px;
}
#cssmenu {
    /*width: 200px;*/
    margin-right: 10px;
}
#cssmenu > ul > li {
    cursor: pointer;
    background: #000;
    border-bottom: 1px solid #4c4e53;
}
#cssmenu > ul > li:last-child {
    border-bottom: 1px solid #3e3d3c;
}
#cssmenu > ul > li > a {
    font-size: 14px;
    display: block;
    color: #fff;
    text-shadow: 0 1px 1px #000;
    background: #64676e;
    background: -moz-linear-gradient(#64676e 0%, #4c4e53 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #64676e), color-stop(100%, #4c4e53));
    background: -webkit-linear-gradient(#64676e 0%, #4c4e53 100%);
    background: linear-gradient(#64676e 0%, #4c4e53 100%);
}
#cssmenu > ul > li > a:hover {
    text-decoration: none;
    background: #b20404;
    background: -moz-linear-gradient(#b20404 0%, #800303 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #b20404), color-stop(100%, #800303));
    background: -webkit-linear-gradient(#b20404 0%, #800303 100%);
    background: linear-gradient(#b20404 0%, #800303 100%);
    color: #ffffff;
    text-shadow: 0 1px 1px #800303;
}
#cssmenu > ul > li.active {
    border-bottom: none;
}
#cssmenu > ul > li.active > a {
    background: #b20404;
    background: -moz-linear-gradient(#b20404 0%, #800303 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #b20404), color-stop(100%, #800303));
    background: -webkit-linear-gradient(#b20404 0%, #800303 100%);
    background: linear-gradient(#b20404 0%, #800303 100%);
    color: #ffffff;
    text-shadow: 0 1px 1px #800303;
}
#cssmenu > ul > li.has-sub > a:after {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    border: 5px solid transparent;
    border-left: 5px solid #fff;
}
#cssmenu > ul > li.has-sub.active > a:after {
    right: 14px;
    top: 12px;
    border: 5px solid transparent;
    border-top: 5px solid #ffffff;
}
/* Sub menu */
#cssmenu ul ul {
    padding: 0;
    display: none;
}
#cssmenu ul ul a {
    background: #efefef;
    display: block;
    color: #797979;
    font-size: 13px;
}
#cssmenu ul ul li {
    border-bottom: 1px solid #c9c9c9;
}
#cssmenu ul ul li.odd a {
    background: #e5e5e5;
}
#cssmenu ul ul li:last-child {
    border: none;
}
#cssmenu > ul > li.active > a {
    color: #fff;
}
/*endregion*/

/*region Grid Positioning stuff*/
/* Grid */
/* POSITIONING */

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.justify {
    text-align: justify;
}

.img-fluid {
    width: 100%;
    height: 100%;
}

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

.margin-top {
    margin-top: 15px;
}

.margin-bottom {
    margin-bottom: 15px;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.row {
    position: relative;
    width: 100%;
}

.row [class^="col"] {
    float: left;
    margin: 0 2%;
    min-height: 0.125rem;
    margin-bottom: 1rem !important;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12 {
    width: 96%;
}

.col-1-sm {
    width: 4.33%;
}

.col-2-sm {
    width: 12.66%;
}

.col-3-sm {
    width: 21%;
}

.col-4-sm {
    width: 29.33%;
}

.col-5-sm {
    width: 37.66%;
}

.col-6-sm {
    width: 46%;
}

.col-7-sm {
    width: 54.33%;
}

.col-8-sm {
    width: 62.66%;
}

.col-9-sm {
    width: 71%;
}

.col-10-sm {
    width: 79.33%;
}

.col-11-sm {
    width: 87.66%;
}

.col-12-sm {
    width: 96%;
}

.row::after {
    content: "";
    display: table;
    clear: both;
}

/* Desktop view */
@media only screen and (min-width: 988px) {
    #cssmenu {
        margin-top: 3.675em;
        margin-left: 25px;
        text-align: center;
    }

    .rss_widgets {
        min-height: 300px !important;
        box-shadow: inset 0 0 100px #aaa;
        border-radius: 5px;
        margin-bottom: 0px;
    }
    .feed_link {
        position: absolute;
        bottom: 0;
        margin-bottom: 50px;
    }

    .col-1 p,
    .col-2 p,
    .col-3 p,
    .col-4 p,
    .col-5 p,
    .col-6 p,
    .col-7 p,
    .col-8 p,
    .col-9 p,
    .col-10 p,
    .col-11 p,
    .col-12 p {
        margin-top: 0;
    }
    .col-1 {
        width: 4.33%;
    }

    .col-2 {
        width: 12.66%;
    }

    .col-3 {
        width: 21%;
    }

    .col-4 {
        width: 29.33%;
    }

    .col-5 {
        width: 37.66%;
    }

    .col-6 {
        width: 46%;
    }

    .col-7 {
        width: 54.33%;
    }

    .col-8 {
        width: 62.66%;
    }

    .col-9 {
        width: 71%;
    }

    .col-10 {
        width: 79.33%;
    }

    .col-11 {
        width: 87.66%;
    }

    .col-12 {
        width: 96%;
    }

    .hidden-sm {
        display: block;
    }

    .shown-sm {
        display: none;
    }

    #card-container{
        margin: 35px 0px 16px 14px;
        display: inline-block;
    }


    #boxTest{
        height: 180px;
        box-shadow: #949494 1px 1px 4px 0px;
        margin: 0px 0px 0px 18px;
        position: relative;
    }

    .boxTitle{
        margin: 10px 5px 5px 10px;
        font-size: 15px;
    }
    .boxText{
        margin: 5px 10px;
        font-size: 13px;
        white-space: pre-wrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #spanish-box-thing{
        text-align: center;
    }

    .pic {
        position: absolute;
        bottom: 0;
    }
    .fade {
        position: relative;
        height: 3.5em;
    }
    .fade:after {
        content: "";
        text-align: right;
        position: absolute;
        bottom: 0;
        right: 0;
        width: 70%;
        height: 1.2em;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%);
    }
    .cssmenuTablet{
        display: none;
    }
    .rss-feed{
        height: 200px;
    }
    .responsiveOnly{
        display: none;
    }
}

/* All responsive views */
@media only screen and (max-width: 987px) {
    .homepage_content {
        margin: 0 !important;
        width: 100% !important;
    }
    #content {
        margin-top: 2em;
    }
    .cms_editor_content {
        width: auto !important;
    }
    #cssmenu {
        width: 96%;
        margin: 0 2%;
        text-align: center;
    }
    .rss_widgets div.col-6 {
        box-shadow: inset 0 0 100px #d0d0d0;
        border-radius: 5px;
        margin-bottom: 5px;
    }
    .rss_widgets div.col-6 h2 {
        padding-left: 15px;
    }
    .rss-feed {
        margin-left: 25px;
        height: 200px;
    }
    .feed_link {
        margin: 45px auto 25px 15px;
    }
    .row [class^="col"] {
        margin-bottom: 0;
    }
    .rss_widgets {
        box-shadow: none;
        border-radius: 0;
    }
    .hidden-sm {
        display: none;
    }
    .shown-sm {
        display: block;
    }
    #twitter-widget-0 {
        width: 96% !important;
    }
    #home-message {
        margin: 0 4%;
        width: 92%;
    }
    .fade {
        position: relative;
        height: 3.6em; /* exactly three lines */
    }
    .fade:after {
        content: "";
        text-align: right;
        position: absolute;
        bottom: 0;
        right: 0;
        width: 70%;
        height: 1.2em;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%);
    }
}

/* Specific responsive views */
@media only screen and (max-width: 987px) and (min-width: 768px) {
    .cms_editor_content {
        margin-left: 0px;
        margin-right: 0px;
        overflow-x: hidden;
    }
    .container{
        margin: 15px 7%;
        width: 100%;
    }
    #card-container{
        margin-top: 1.675em;
        display: inline-block;
    }
    .pic{
        position: absolute;
        right: 0;
        top: 0;
    }
    .pic1 {
        content: url("https://images.unsplash.com/photo-1463527882365-18201e85a091?auto=format&crop=entropy&cs=tinysrgb&fit=min&w=350&h=100");
    }
    .pic2 {
        content: url("https://images.unsplash.com/photo-1499083097717-a156f85f0516?auto=format&crop=entropy&cs=tinysrgb&fit=min&w=350&h=100&fp-x=0.12&fp-y=-1.76&fp-z=2");
    }
    .pic3 {
        content: url("https://images.unsplash.com/photo-1496902526517-c0f2cb8fdb6a?auto=format&crop=entropy&cs=tinysrgb&fit=min&w=350&h=100");
    }
    .pic4 {
        content: url("https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&crop=entropy&cs=tinysrgb&fit=min&w=350&h=100");
    }
    .homepage_content {
        margin: auto;
        width: 100% !important;
    }
    #cssmenu{
        display: none;
    }
    #boxTest{
         height: 100px;
         margin: 0px 0px 0px 0px;
         position: relative;
         box-shadow: #949494 1px 1px 4px 0px;
     }
    .boxTitle{
        margin: 10px 5px 5px 20px;
        font-size: 15px;
    }
    .boxText{
        margin: 5px 20px;
        font-size: 13px;
        width: 193px;
        white-space: pre-wrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #spanish-box-thing{
        text-align: center;
        margin-bottom: 50px !important;
    }
    .rss_widgets{
        margin-left: 0px;
    }
}

@media only screen and (max-width: 767px) and (min-width: 480px) {
    .cms_editor_content {
        margin-left: 0;
        margin-right: 0;
    }
    #card-container{
        margin-top: 1.675em;
        display: inline-block;
    }
    #cssmenu{
        display: none;
    }
    #boxTest{
        height: 100px;
        margin: 0px 0px 0px 10px;
        position: relative;
        box-shadow: #949494 1px 1px 4px 0px;
    }
    .boxTitle{
         margin: 10px 5px 5px 20px;
         font-size: 15px;
    }
    .boxText{
        margin: 5px 20px;
        font-size: 13px;
        width: 193px;
        white-space: pre-wrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .pic{
        position: absolute;
        right: 0;
        top: 0;
    }
    .pic1 {
        content: url("https://images.unsplash.com/photo-1463527882365-18201e85a091?auto=format&crop=entropy&cs=tinysrgb&fit=min&w=222&h=100");
    }
    .pic2 {
        content: url("https://images.unsplash.com/photo-1499083097717-a156f85f0516?auto=format&crop=entropy&cs=tinysrgb&fit=min&w=222&h=100&fp-x=0.12&fp-y=-1.76&fp-z=2");
    }
    .pic3 {
        content: url("https://images.unsplash.com/photo-1496902526517-c0f2cb8fdb6a?auto=format&crop=entropy&cs=tinysrgb&fit=min&w=222&h=100");
    }
    .pic4 {
        content: url("https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&crop=entropy&cs=tinysrgb&fit=min&w=222&h=100");
    }
    #spanish-box-thing{
        text-align: center;
        margin-bottom: 50px !important;
    }
    .feed_link{
        font-size: 12px;
    }
    #additionalResources{
        padding: 0px 20px;
        width: 90%;
    }
}

@media only screen and (max-width: 479px) {
    .row{
        margin-left: 12px;
    }
    .cms_editor_content {
        margin-left: 0;
        margin-right: 0;
    }
    #card-container{
        margin-top: 1.675em;
        display: inline-block;
        margin-left: 12px;
    }
    #cssmenu{
        display: none;
    }
    #boxTest{
        height: auto;
        margin: 0px 0px 0px 0px;
        position: relative;
        box-shadow: #949494 1px 1px 4px 0px;
        width: 95%;
    }
    .boxTitle{
        margin: 10px 5px 5px 20px;
        font-size: 15px;
    }
    .boxText{
        margin: 5px 20px;
        font-size: 13px;
        width: 193px;
        white-space: pre-wrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .pic{

    }
    .pic1 {
        content: url("https://images.unsplash.com/photo-1463527882365-18201e85a091?auto=format&crop=entropy&cs=tinysrgb&fit=min&w=258&h=100");
    }
    .pic2 {
        content: url("https://images.unsplash.com/photo-1499083097717-a156f85f0516?auto=format&crop=entropy&cs=tinysrgb&fit=min&w=258&h=100&fp-x=0.12&fp-y=-1.76&fp-z=2");
    }
    .pic3 {
        content: url("https://images.unsplash.com/photo-1496902526517-c0f2cb8fdb6a?auto=format&crop=entropy&cs=tinysrgb&fit=min&w=258&h=100");
    }
    .pic4 {
        content: url("https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&crop=entropy&cs=tinysrgb&fit=min&w=258&h=100");
    }
    #spanish-box-thing{
        text-align: center;
        margin-bottom: 50px !important;
    }
    .feed_link{
        font-size: 12px;
    }
}
/*endregion*/


/*#card-container{*/
    /*margin: 50px 0px 0px 40px;*/
    /*display: inline-block;*/
/*}*/

/*Fix the rss reader to not show descriptions*/

.feed_link {
    font-size: 11pt;
}

.rss_title {
    margin-top: 2em;
}

.rss_link,
.rss_description {
    display: none;
}

.rss_date {
    font-size: 9pt;
}

.rss_widgets a {
    text-decoration: underline;
}

#jquery_rss_newsfeed, #jquery_rss_calendar {
    margin-bottom: 50px;
}

@media (max-width: 768px)  {
    .tools {
        width: 100% !important;
    }
}
