/* CoSD LW Font */
.fw-normal {
    font-weight: normal !important;
}
.fw-bold {
    font-weight: bold !important;
}
.color-white {
    color: #fff !important;
}

/* CoSD LW Background */
.bg-orange {
    background-color: #e97111 !important;
}
.bg-orange-dark {
    background-color: #c95a28 !important;
}
.bg-green {
    background-color: #6b7a2e !important;
}
.bg-green-dark {
    background-color: #4a5d26 !important;
}
.bg-teal {
    background-color: #00819d !important;
}
.bg-teal-dark {
    background-color: #00637a !important;
}
.bg-blue {
    background-color: #2a4a69 !important;
}
.bg-blue-dark {
    background-color: #2d3742 !important;
}

/* CoSD LW Border */
.border-orange {
    border: 2px solid #e97111 !important;
}
.border-orange-dark {
    border: 2px solid #c95a28 !important;
}
.border-green {
    border: 2px solid #6b7a2e !important;
}
.border-green-dark {
    border: 2px solid #4a5d26 !important;
}
.border-teal {
    border: 2px solid #00819d !important;
}
.border-teal-dark {
    border: 2px solid #00637a !important;
}
.border-blue {
    border: 2px solid #2a4a69 !important;
}
.border-blue-dark {
    border: 2px solid #2d3742 !important;
}

/* Fix button component and button dropdown component */
.sdc-style-btn .btn {
    white-space: normal;
    margin-top: 5px;
    margin-bottom: 5px;
}
.sdc-style-btn .contents {
    padding-inline-start: 0 !important;
}
@media (max-width: 640px) {
    .sdc-style-btn .btn {
        font-size: inherit;
    }
    .row.sdc-style-btn {
        margin-right: 0 !important;
    }
    .sdc-style-btn .dropdown-menu li a {
	    font-size: 28px !important;
	}
}
.sdc-style-btn .dropdown-menu {
    width: 100%;
    padding-left: 0 !important;
}
.sdc-style-btn .dropdown-menu li a {
    white-space: normal;
    font-size: 18px;
}
.sdc-style-btn .btn-group.open .dropdown-toggle {
    padding-right: 1em;
}
.sdc-style-btn .button-dropdown-sdc .glyphicon {
    top: 2px !important;
    vertical-align: text-top;
    padding-left: 0.25em;
}

/* Tile width toggle */
.tile-img img {
    max-width: 100%;
}

/* Text Media component */
.textMedia .img-media-left{
	float: left;
	margin: 0px 10px 0px 0px;
}

.textMedia .img-media-right{
	float: right;
	margin: 0px 0px 0px 10px;
}

.textMedia .img-media-top{
	display: block;
}

.textMedia .img-media-center{
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.text-media ul {
    display: inline-block;
}

.text-media ul {
    display: inline-block;
} 

/* Alignment dropdown classes */
 .tile-img *{
    margin: 0 auto !important;
    text-align: center;
}

.tile-text{
	text-align: center;
	margin: 0px;
	font-size: 18px;
}

.tile-text-top{
	padding: 10px 10px 0 10px;
}

.tile-text-bottom{
	padding: 0 10px 10px 10px;
}

.center-by-text {
    text-align: center;
}
.left-by-text {
    text-align: left;
}
.right-by-text {
    text-align: right;
} 
 
.center-by-margin {
	margin-left: auto !important;
    margin-right: auto !important;
}
.left-by-margin {
    margin-right: auto !important;
}
.right-by-margin {
    margin-left: auto !important;
}

/* 5 column */
.col-2dot4,
.col-sm-2dot4,
.col-md-2dot4,
.col-lg-2dot4,
.col-xl-2dot4 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
.col-2dot4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
}

/* OES carousel component folder is called bcarousl */
#myCarousel.sdc {
    width: 100% !important;
    height: auto;
    padding-bottom: 0;
}
#myCarousel.sdc .carousel-indicators {
    display: none;
}
#myCarousel.sdc .carousel-control {
    position: absolute;
    top: 40%;
    color: #fff !important;
    background-color: transparent;
    background-image: none;
}
#myCarousel.sdc .carousel-control.vtop {
    top: 50%;
}
#myCarousel.sdc .carousel-caption {
	height: auto;
	margin: 0 !important;
    padding: 1em !important;
}
#myCarousel.sdc .carousel-caption > p {
	margin-bottom: 0;
    color: #fff !important;
    background-color: transparent !important;
	font-weight: bold;
}
#myCarousel.sdc .item {
	margin: 1.5em 0;
}

@media (min-width: 540px) {
    .col-sm-2dot4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}
@media (min-width: 720px) {
    .col-md-2dot4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}
@media (min-width: 960px) {
    .col-lg-2dot4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}
@media (min-width: 1140px) {
    .col-xl-2dot4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (max-width: 640px) {
	.tile-text {
		font-size: 36px;
	}
	
	.tile-img img {
    	width: 70%;
	}
	
}

/* APCD Nav adjustment for desktop view */ 
@media (min-width: 641px) {
    .nav.navbar-nav.home-nowrap .dept-sub-menu li {
        min-width: 220px;
        width: max-content;
        padding-right: 1em;
    }
}    

/* SDC Text and Text & Image component in Sidebar */
#sidebar > div > .text,
#sidebar > div > .textimage,
#sidebar > div > .iparys_inherited > .iparside > .text,
#sidebar > div > .iparys_inherited > .iparside > .textimage,
#sidebar > div .iparside_optional > .text,
#sidebar > div .iparside_optional > .textimage {
    width: 260px;
    margin-bottom: 15px;
    padding: 12px;
    box-shadow: 0 5px 5px #b9c2bd;
    background: #fff;
    color: #2d3742;
}
#sidebar > div > .textimage img,
#sidebar > div > .iparys_inherited > .iparside > .textimage img {
    max-width: 100%;
}
@media (max-width: 640px){
    #sidebar > div > .text,
    #sidebar > div > .textimage,
    #sidebar > div > .iparys_inherited > .iparside > .text,
	#sidebar > div > .iparys_inherited > .iparside > .textimage,
	#sidebar > div .iparside_optional > .text,
    #sidebar > div .iparside_optional > .textimage {  
        width: 100%;
        margin-bottom: 20px;
        padding: 36px 20px 20px 20px;
        font-size: 28px;
        line-height: 40px;
    }
}