/* webdam */

.webdam-container {
position: relative;
display: block;
width: 100%;
height: 100%;
}

.webdam-popover {
position: absolute;
display: none;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.8);
z-index: 10;
}

.webdam-popover-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

/* left */

.webdam-left-content {
position: relative;
display: inline-block;
vertical-align: top;
float: left;
width: 200px;
}

.search-title {
position: relative;
display: block;
height: 25px;
font-size: 14px;
line-height: 25px;
color: #fff;
padding: 0px 5px;
background-color: #258AD2;
text-align: right;
}

/* start adding */

.search-title-group {
display: inline-block;
width: 48%;
-webkit-appearance: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

.search-title-group:first-of-type {
text-align: left;
}

.search-title-group:last-of-type {
text-align: right;
}

/* end adding */

.explore-block {
background: #145684;
padding: 0px 0px 5px 5px;
}

.explore-block-title {
position: relative;
display: block;
height: 25px;
font-size: 14px;
line-height: 25px;
color: #fff;
padding: 0px 5px;
background: #145684;
text-align: right;
-webkit-appearance: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

.explore-keywords {
position: relative;
display: block;
font-size: 12px;
padding: 5px;
border: none;
text-align: right;
background-color: #efefef;
-webkit-appearance: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
border-style: solid;
border-color: #ddd;
border-width: 0px 0px 1px 0px;
white-space: normal;
border-radius: 0px;
}

.explore-keywords:hover {
background-color: #aaa;
text-decoration: none;
-webkit-appearance: none;
}

/* cancel button */

.explore-keywords-cancel {
position: absolute;
display: none;
font-size: 12px;
line-height: 16px;
text-align: center;
width: 16px;
height: 16px;
border-radius: 8px;
color: #333;
background-color: #fff;
cursor: pointer;
}

.explore-keywords-cancel:hover {
color: #fff;
background-color: #333;
}

.explore-title {
cursor: pointer;
-webkit-appearance: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border-bottom-color: #4fa4df;
border-bottom-style: solid;
border-bottom-width: 1px;
}

.explore-title::before {
content: "\25B6";
float: left;
}

.explore-title.container-open::before {
content: "\25BC";
float: left;
}

.explore-list-block {
display: none;
}

.explore-list-block.explore-list-open {
display: block;
}

.current-explore, .current-explore:hover {
background-color: #B9D3EE;
}

.sub-explore {
background-color: #B9D3EE;
padding: 0px 0px 5px 0px;
}

.sub-explore .keyword-title {
margin: 0px 0px 0px 5px;
}


.sub-explore-list {
text-align: right;
}

/* keywords */

.keyword-container {
cursor: pointer;
-webkit-appearance: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

.keyword-count {
display: inline;
color: #fff;
}

.keyword-count::before {
content: "\25B6";
float: left;
}

.keyword-count.container-open::before {
content: "\25BC";
float: left;
}

.keyword-list {
display: none;
text-align: right;
overflow: auto;
}

.keyword-title {
position: relative;
display: block;
font-size: 12px;
/*
width: calc(100% - 30px);
*/
min-height: 16px;
padding: 0px 25px 0px 5px;
margin: 0;
background-color: #efefef;
-webkit-appearance: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
border-style: solid;
border-color: #ddd;
border-width: 0px 0px 1px 0px;
white-space: normal;
border-radius: 0px;
text-align: right;
}

.keyword-title:hover {
background-color: #aaa;
}

input[type="checkbox"].keyword-checkbox {
position: absolute;
top: 0px;
right: 0px;
margin: 5px 5px 0px 0px;
}

.current  {
background-color: #B9D3EE;
}

.current:hover {
background-color: #B9D3EE;
}


/* filter by */

.filter-by-block {
background-color: #145684;
padding: 0px 0px 5px 0px;
}

.filter-by-block .search-title {
background-color: #145684;
}

.filter-by-block .keyword-block .search-title {
background-color: #258AD2;
margin: 0px 0px 0px 5px;
border-bottom-color: #4fa4df;
border-bottom-style: solid;
border-bottom-width: 1px;;
}

.filter-by-block .keyword-block .keyword-title {
margin: 0px 0px 0px 5px;
/*
width: calc(100% - 35px);
*/
}


/* right */

.webdam-right-content {
position: relative;
display: inline-block;
min-width: 320px;
width: calc(100% - 200px);
height: 100%;
}

.right-top-block {
position: absolute;
display: block;
top: 0px;
left: 0px;
width: calc(100% - 20px);
height: 60px;
padding: 0px 20px;
}

.loading-icon {
position: absolute;
display: none;
top: 3px;
left: 5px;
width: 200px;
height: 20px;
background: url('../images/loading.gif');
background-repeat: no-repeat;
background-size: contain;
background-position: left;
}

.loading-icon-text {
margin: 3px 0px -2px 23px;
line-height: 16px;
}

.search {
display: block;
width: 100%;
height: 30px;
font-size: 20px;
}

.search-icon {
position: absolute;
display: block;
top: 0px;
right: 20px;
width: 30px;
height: 30px;
background: url('../images/search.png');
background-repeat: no-repeat;
background-size: contain;
background-position: center;
cursor: pointer;
}

.loading-cancel {
position: absolute;
display: none;
top: 4px;
right: 3px;
font-size: 12px;
height: 18px;
width: 18px;
line-height: 18px;
text-align: center;
color: #fff;
background-color: #333;
border-radius: 9px;
cursor: pointer;
}


.main-search-count {
width: calc(100% - 20px);
margin: 10px 10px 0px 10px;
height: 30px;
font-size: 12px;
color: #000;
}

.clear-results {
display: inline;
cursor: pointer;
font-size: 12px;
}

.clear-results:hover {
color: #B9D3EE;
}

.main-search-count a {
color: #000;
text-decoration: none;
}

.total-results {
display: inline;
color: #000;
font-size: 13px;
}

.search-count {
position: relative;
display: block;
width: 100%;
text-align: center;
background-color: #efefef;
line-height: 30px;
overflow: auto;
}

.filter-count {
display: inline;
font-size: 12px;
}

.results {
position: relative;
display: block;
width: 100%;
min-height: 500px;
height: calc(100% - 100px);
max-height: 800px;
overflow: auto;
margin: 100px 0px 0px 0px;
}

.results.splash {
background-image: url("../images/splash.png");
background-repeat: no-repeat;
background-position: top center; 
background-size: contain;
}

/* progress bar */

.webdam-progressbar-container {
position: relative;
display: block;
width: 100%;
}

/* each media item */

.webdam-item-container {
position: relative;
display: inline-block;
vertical-align: top;
padding: 0;
margin: 10px 10px 5px 10px;
}

.webdam-item {
width: 280px;
}

.webdam-item-thumbnail {
width: 280px;
height: 183px;
cursor: pointer;
overflow: hidden;
opacity: 1;
text-align: center;
}

.webdam-item-thumbnail:hover {
opacity: .7;
}

.thumbnail-src {
width: 480px;
height: 358px;
margin: -50px 0px 0px -100px;
}

.webdam-item-name {
display: block;
width: 100%;
height: 30px;
font-size: 10px;
text-align: center;
}

/* details */

.webdam-item-details {
position: relative;
display: block;
width: 800px;
height: auto;
color: #fff;
background: #145684;
z-index: 10;
padding: 0px;
margin: 0px 10px;
border-color: #145684;
border-width: 12px;
border-style: solid;
}

.details-left {
display: inline-block;
vertical-align: top;
width: calc(100% - 300px);
border-style: solid;
border-color: #145684;
border-width: 0px 1px 0px 0px;
}

.details-right {
display: inline-block;
vertical-align: top;
width: 260px;
padding: 10px;
}

.close {
position: absolute;
display: block;
top: -22px;
right: -22px;
line-height: 26px;
width: 30px;
height: 30px;
border-radius: 20px;
color: #333;
background-color: #fff;
text-align: center;
cursor: pointer;
}

.strong-title {
display: inline;
font-weight: bold;
color: #fff;
}

.webdam-item-title {
margin: 10px 0px;
color: #fff;
}

.webdam-item-line {
display: block;
width: 100%;
height: 1px;
background-color: #fff;
}

.webdam-item-description {
margin: 10px 0px;
font-size: 12px;
color: #fff;
line-height: 1.5em;
}

.webdam-item-filesize {
font-size: 12px;
color: #fff;
}

.webdam-item-product {
font-size: 12px;
color: #fff;
line-height: 1.6em;
}

.webdam-item-keywords {
font-size: 12px;
margin: 10px 0px;
padding: 0px 0px 30px 0px;
color: #fff;
line-height: 1.5em;
}

/* stand alone */


.webdam-item-download {
position: absolute;
display: block;
bottom: 5px;
width: 30px;
height: 30px;
border-radius: 15px;
background-color: #fff;
opacity: 1;
}

.download-link {
display: block;
width: 100%;
height: 100%;
background-color: #fff;
background: url('../images/download.png');
background-repeat: no-repeat;
background-size: contain;
background-position: center;
cursor: pointer;
}

.webdam-item-download:hover {
opacity: .7;
}

.embed-code-block {
position: absolute;
display: none;
top: 0px;
left: 0px;
width: calc(100% - 300px);
height: 100%;
}

.embed-code-block .embed-code-textarea {
width: 100%;
height: 100%;
}

.embed-code-block .embed-code-close {
position: absolute;
top: 5px;
right: 5px;
color: #333;
cursor: pointer;
}

.webdam-item-embed {
position: absolute;
display: block;
bottom: 5px;
margin: 0px 0px 0px 40px;
width: 30px;
height: 30px;
border-radius: 15px;
background-color: #fff;
opacity: 1;
}

.embed-link {
display: block;
width: 100%;
height: 100%;
background-color: #fff;
background: url('../images/code.png');
background-repeat: no-repeat;
background-size: contain;
background-position: center;
cursor: pointer;
}

.webdam-item-embed:hover {
opacity: .7;
}

.download-prompt {
position: absolute;
display: none;
bottom: 0px;
right: 0px;
padding: 0px 10px;
height: 30px;
margin: 5px;
line-height: 30px;
color: #333;
background: #fff;
border-radius: 5px;
text-align: center;
}

.download-link {
cursor: pointer;
}

/* 
WordPress theme resets

.results pre {
display: none;
}

input[name="query"].search {
display: block;
width: 100%;
height: 30px;
font-size: 20px;
}

.section_wrapper.mcb-section-inner .webdam-container {
margin-top: -40px;
}

.total-results {
font-size: 13px;
color: #0f3e5f;
font-family: "Open Sans", Arial, Tahoma, sans-serif;
}

.main-search-count {
margin: -10px 10px 0px 2px;
font-size: 13px;
color: #0f3e5f;
font-family: "Open Sans", Arial, Tahoma, sans-serif;
}

.right-top-block {
padding: 0px 20px 0px 10px;
}

.webdam-item-name {
font-size: 14px;
text-align: left;
color: #145684;
padding-top: 5px;
padding-left: 2px;
line-height: 1.2em;
padding-bottom: 5px;
}

.webdam-right-content {  
width: calc(100% - 255px);
padding-left: 10px;
}

.webdam-left-content {
width: 245px;
}

.explore-keywords { 
font-size: 14px;
padding-right: 10px;
padding-top: 5px;
padding-bottom: 5px;
padding-left: 10px;
line-height: 1.6em;
color: #444343
}

end WordPress theme reset 
*/
