
@media (max-width: 767px) {
article.type-page {
  margin-left: 0;
  margin-right: : 0;
}
}
div.entry-content {
  margin-left: 10px;
  margin-right: 10px;
  overflow-y: auto;
  padding: unset;
  max-width: 100%s;
}

@media only screen and (min-width: 768px)
.entry .entry-content, .entry .entry-summary {
     max-width: 100%;
    margin: 0 0px;
    padding: 0 0px;
}

div.one4pharma_application {
  min-width: 1500px;
  min-height: 900px;
  height: 900px;
  font-size: 12px;
}


/*draggable and droppable*/
#draggable tr{
  z-index: 1;  /* on top */
  position: absolute;
  touch-action: none;
  }

/*draggable and droppable*/
#draggable {
  width: 100px;
  height: 48px;
  z-index: 1;  /* on top */
  position: absolute;
  display: block;
  touch-action: none;
  background-position: top;
  background-color: #ffc;
}
div.droppable {
  width: 500px;
  height: 60px;
  padding: 0.5em;
  float: left;
  margin: 10px;
  background:white;
  border-style: groove;
  border-color: black;
  border-width: 1px;
  position: relative;
  background:lightblue;
}
div.sticky {
  -webkit-box-shadow: 5px 5px 7px rgba(33,33,33,.7);
  -webkit-transform:rotate(-2deg);
  -o-transform:rotate(-2deg);
  -moz-transform:rotate(-2deg);
  font-size:110%;
  font-weight:bold;
  padding-bottom:0px;
  }

div.sticky:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-width:  16px 0 0  16px ;
  border-style: solid;
  border-color: #aa9 #ffc;
}
div.sticky:hover,div.sticky:focus{
  -moz-box-shadow:10px 10px 7px rgba(0,0,0,.7);
  -webkit-box-shadow: 10px 10px 7px rgba(0,0,0,.7);
  box-shadow:10px 10px 7px rgba(0,0,0,.7);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  position:relative;
  z-index:5;
}

/*loose margin from wp*/
div.one4pharma_menu, div.one4pharma_page {
  width: 1500px;
  position: relative;
}
div.one4pharma_page {
  overflow: auto;
  min-height: 874px;
  max-height: 874px;
  background-color: lightgrey;
  position: relative;
  overflow: auto;
  display: block;

}
div.one4pharma_menu {
  height: 37px;
}

div.one4pharma_helpbar_publications{
      border: solid black 1px;
      border-bottom: none;
      border-left: none;
      border-right: none;
      background-color: white;
      padding: 2px;
}

/*main menu*/
table.main_menu td.selected{
  border-bottom: solid lightblue 8px;
  border-bottom-left-radius:  8px;
  border-bottom-right-radius: 8px;
  font-weight: bold;
}

table.main_menu td.menustatus,table.sub_menu td.menustatus{
  background: #e3f3f1;
  border-color: #a5f7ec;
  border-bottom: 1px solid black;
}

table.main_menu td {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  -moz-border-radius: 5px 5px 0 0;
  border: solid black 1px;
  border-bottom: solid black 6px;
}
table.main_menu {
  border-collapse: unset;

}

table.main_menu td.red_main_menu  {
  background: #faa;
}

table.main_menu td.red_main_menu.selected  {
  background: #f55;
    border-bottom: solid #f55 8px;
}

/*sun menu*/
table.sub_menu td.selected{
  border-bottom: solid transparent 0px;
  border-bottom-left-radius:  0px;
  border-bottom-right-radius: 0px;
  font-weight: bold;
}


table.sub_menu td {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  -moz-border-radius: 5px 5px 0 0;
  border: solid black 1px;
  border-bottom: solid black 1px;
}
table.sub_menu {
  border-collapse: separate;
}

div.submenu {
  height: 33px;
}

/*campaign menu divs */
div.create_campaign,div.edit_campaign,div.acc_edit {
  border-left: solid black 1px;
  border-right: solid black 1px;
  border-bottom: solid black 1px;
    margin: 2px;
    padding: 5px;
    border-top: solid transparent 6px;

}
/* media page */
/** Start: to style navigation tab **/


.nav, .enav  {
  margin-bottom: 18px;
  margin-left: 0;
  list-style: none;
}

.nav > li > a, .enav > li > a  {
  display: block;
  outline: 0;
}

.nav-tabs, .enav-tabs {
  *zoom: 1;
}

.nav-tabs:before, .nav-tabs:after, .enav-tabs:before, .enav-tabs:after {
  display: table;
  content: "";
}

.nav-tabs:after, .enav-tabs:after {
  clear: both;
}

.nav-tabs > li , .enav-tabs > li {
  float: left;
}

ul.nav-tabs > li.inactive, ul.enav-tabs > li.inactive  {
  display: none;
}

.nav-tabs > li > a, .enav-tabs > li > a {
  padding-right: 12px;
  padding-left: 12px;
  margin-right: 2px;
  line-height: 14px;
}

.nav-tabs,.enav-tabs {
  border-bottom: 1px solid #555;
}

.nav-tabs > li, .enav-tabs > li {
  margin-bottom: -1px;
}

.nav-tabs > li > a, .enav-tabs > li > a  {
  padding-top: 8px;
  padding-bottom: 8px;
  line-height: 18px;
  border: 1px solid transparent;
  -webkit-border-radius: 4px 4px 0 0;
   -moz-border-radius: 4px 4px 0 0;
      border-radius: 4px 4px 0 0;
}

.nav-tabs > li > a:hover, .enav-tabs > li > a:hover  {
  border-color: #aaaaaa #aaaaaa #777777;
}

.nav-tabs > .active > a,
.nav-tabs > .active > a:hover,
.enav-tabs > .active > a,
.enav-tabs > .active > a:hover  {
  color: #555555;
  cursor: default;
  background-color: #ffffff;
  border: 1px solid #555;
  border-bottom-color: transparent;
}

li {
  line-height: 18px;
}


.tab-content.active{
  display: block;
}

.tab-content.hide{
  display: none;
}

.ui-datepicker{
  font-size: 10px;
  background-color: white;
  border: 2px solid #ddd;
  padding: 4px;
}
.ui-datepicker td {
  padding: 2px;
}


/*editor in requirements tab*/
iframe#media_requirements_ifr, iframe#media_impact_factor_ifr,
iframe#target_audience_ifr, iframe#scoping_review_ifr  {
  min-height: 300px;
}

//tinymce editor heigh
div#wp-accountdescedit-wrap {
  height : 400px !important;
}

/** End: to style navigation tab **/

table.formatssize{
  width:500px;
  white-space: nowrap;
}
table.mediaformat1, table.ui-datepicker-calendar{padding:1px;}
table.mediaformat1 td,table.ui-datepicker-calendar td { padding:1px;}
input[type="text"].mediaformat { padding:1px;}


table.media_clicked tbody,table.media_clicked tbody tr {
  width: auto;
}

table.main_menu {
  width : 100%;
}

table.main_menu tr td:last-child, table.sub_menu tr td:last-child {
    width: 99%;
}

table.main_menu td,table.sub_menu td {
   white-space:nowrap;
}

td.tdup  {
  text-align: right;
}
td.tdup::before {
  font-family: "dashicons";
  content: "\f343";
  width: 30px;
  height: 30px;
  border: none;
}

td.tddown{
  text-align: left;
}
td.tddown::after {
  font-family: "dashicons";
  content: "\f347";
  width: 30px;
  height: 30px;
  border: none;
}

table.one4media td.imghere {
  padding-top: 0px;
  padding-bottom: 0px;
}

img.main_pub_image {
  align-self : center;
  vertical-align: middle;
}

img.nice_pub_image {
  display: block;
  width: auto;
  height: auto;
  max-width: 150px;
  max-height: 150px;
  position:relative;
  align-self : center;
  vertical-align: middle;
}

textarea.editmediadesc {
  padding-left: 5px;
  padding-right: 5px;
  margin-top: 0px;
  margin-bottom: 0px;
}

input[type="button"].createmediabutton ,input[type="button"].add_mediabutton ,input[type="button"].add_mediabutton_2, input[type="button"].mediabutton_format  {
  padding: 8px;
}

input[type="button"].deletemedianow.mediabutton , input[type="button"].deleteaddressnow.mediabutton {
  background: red;
  padding   : 6px;
}

input[type="button"].dontdeletemedianow.mediabutton {
  background: green;
  padding   : 6px;
}

input[type="button"].deletemedianow:hover {
  background: red;
}

input[type="button"].mediabutton {
  padding: 4px;
}

input[type="button"].mediummediabutton {
  padding: 12px;
}

input.edit_executives[type="text"] {
  padding: 2px;
}

div.one4pharma_page {
    width: 1496px;
    margin-left: 2px;
    margin-right: 2px;
    border: solid black 1px;
    border-top: 0px;
    border-bottom-width: 1px;
    border-right-width: 1px;
}

table.one4media tr td ,table.one4media tr th {
  border-left: 0px solid;
}

table.one4media th  {
  border-bottom-width: 0px;
}

table.one4media  tbody{
  display:block;
  height:790px;
/*  width: 100%;*/
  overflow:auto;
}
table.one4media thead tr{
  display:block;
  /*width: 100%*/
}
table.one4media th
,table.one4media td
, table.one4media_account th
,table.one4media_account td
,table.show_contacts th
,table.show_contacts td
{
  padding: 2px;
}

td.tooltip:hover::after {
  word-wrap: normal;
  length: 80;
}


.entry, .entry-content, div.entry-content {
  max-width: 100%;
  margin: 0 0%;
  padding: 0 40px;
}



table.products_table {
  width: 1500px;
}

div.popup_base {
  position: relative;
}

div.class_popup {
  display: none; /* Hidden by default */
  position: absolute;
  left: 10px;
  top: 26px;
  width: 300px;
  /*overflow: auto; /* Enable scroll if needed */
  z-index: 1; /* on top */
  background:white;
  border-style: groove;
  border-width:  4px;
  border-color: lightgrey;
  padding: 3px;
  border-width: 3px;
  margin: 3px;
}

.selected { background-color: #4be5e5; }

tr.do.not.select { background-color: #43cce8; }

tr.can.not.select { background-color: #e8e8e8; }

input.create.media,input.create.media.button { visibility: hidden;}

input.editpmc {
  padding: unset;
}

table.one4media_account tr td input[type="text"]
,table.show_contacts tr td input[type="text"]
,table.show_emails  tr td input[type="text"]
{
  padding: unset;
}
table.one4media_account tr td input[type="submit"]
,table.show_contacts tr td input[type="submit"]
,table.show_emails tr td input[type="submit"]
{
  padding: 4px;
}


body {
	position: relative;
}

div.immapopup{	position: absolute;
  min-width: 1000px;
	  /*transform: translate(-50%, -50%);*/
    opacity: 1;
    z-index: 1; /* on top */
    background:white;
    border-style: groove;
    border-width:  4px;
    border-color: lightgrey;
    padding: 3px;
    border-width: 3px;
    margin: 3px;
}

div.hidden_check {
  display: none;
}

div.edit_media_popup {
  width: 950px;
  min-width: unset;
}

div.offer_info_popup {
  width: 799px;
}

div.campaign_contents{
  width: 1500px;
  min-width: unset;
}

div.edit_action_popup, div.campaign_contacts_add, div.divwidht800{
  width: 800px;
  min-width: unset;
}

div.divwidht1000{
  width: 1000px;
  min-width: unset;
}

div.divwidht600{
  width: 600px;
  min-width: unset;
}

div.divwidht1200{
  width: 1200px;
  min-width: unset;
}



div.add_media_popup,div.createmediapopup,div.mediapopup{
  width: 400px;
  min-width: unset;
}

div.mediapopup, div.deleteprodpopup, div.add_media_popup, div.createmediapopup, div.mediapopup, div.edit_media_popup, div.edit_action_popup, div.offer_info_popup
, div.campaign_contacts_add,div.campaign_contents,div.addpubtocamp_popup,div.popup {
  position: absolute;
  min-width: 100px;
  /*transform: translate(-50%, -50%);*/
  opacity: 1;
  z-index: 1; /* on top */
  background:#ffffff;
  border-style: groove;
  border-width:  4px;
  border-color: lightgrey;
  padding: 3px;
  border-width: 3px;
  margin: 3px;
}

table.products_table {
  line-height: 1;
  padding: 0.3em;
}

table.popupheader,table.popupheader.tr,table.popupheader.td {
  margin-bottom: 2px;
  padding:2px;
}
table.media_table {
  margin-bottom: 2px;
  padding:0px;
}

table.media_table td {
  margin-bottom: 0px;
  padding:0px;
}

input[type="text"].editpmc {
  padding: 1px;
}

input.editmedia[type="text"] {
  padding: 4px;
}

td.red_unchecked {
  background-color: red;
}

thead.popupheader tr.popupheader {
  width: unset;
}

td.windowheadercopy::before,td.pcmheadercopy::before,td.windowheader_mcopy::before {
  font-family: "dashicons";
  content: "\f105";
  height: 30px;
  width: 30px;
  border: solid;
  border-width: thin;
}
td.windowheaderdelete::before,td.pcmheaderdelete::before,td.windowheaderdelete_m::before {
  font-family: "dashicons";
  content: "\f182";
  height: 30px;
  width: 30px;
  border: solid;
  border-width: thin;
}

th.windowheaderaction::before{
  font-family: "dashicons";
  content: "\f12a";
  width: 30px;
  height: 30px;
  border: none;
  font-size:  16px;
}

th.windowheadermedia::before {
  font-family: "dashicons";
  content: "\f330";
  width: 30px;
  height: 30px;
  border: none;
  }

/*closing div popup window dashicon */
th.windowheader_close::before,th.windowheader_hide::before, td.windowheader::before,td.pmcheader::before,td.windowheader_m::before {
font-family: "dashicons";
content: "\f158";
width: 30px;
height: 30px;
border: solid;
border-width: thin;
}


/*closing div popup window dashicon */
th.windowheader, td.windowheader,td.pmcheader,td.windowheaderdelete,td.pcmheaderdelete,td.pcmheadercopy,td.windowheadercopy,td.windowheader_m,td.windowheader_mcopy,td.windowheaderdelete_m {
width: 30px;
border: solid;
border-width: thin;
padding: 2px;
padding-left: 5px;
}

td.windowheader2,td.pmcheader2,td.windowheadercopy ,td.windowheader_mcopy{
  padding: 2px;
  border: solid;
  border-width: thin;
}

p.info {
visibility:hidden;
}
p.info:before {
/*closing div popup window dashicon */
font-family: "dashicons";
content: "\f177";
}

/* offers */
div.offer_data, div.campaign_data {
  overflow-y: auto;
  height: 795px;
  width: 750px;
}


div.filteroptions, div.contactlist {
  border-width: 1px;
  border-style: solid;
  border-color: black;
  padding: 0.5em;
  line-height: 2;
}

div.applied_filter {
  min-height: 500px;
  max-height: 510px;
  overflow-y: auto;
}
