/* CSS Document */

/***********************************************************************
[Table of Contents]

1. Classes for Containers
2. publication box, dividend box and proxy form
3. Responsiveness
***********************************************************************/

/*************************************************************************************
       1. containers
**************************************************************************************/
/**/
*  {
      box-sizing: border-box
     }
/*All elements of the body will have this font unless specified particulry*/
body  {
       font-family: "Lato", sans-serif;
      }

/*A large container that contains all the small boxes in the page*/
.box_container  {
      min-width: 350px;
    }

/*A container that holds the publication, dividend and proxy boxes*/
.boxx {
      border: 1px solid #ccc;
      width:85%;
      height: 260px;
      box-shadow: 0 4px 18px 0 rgba(0,0,0,0.2);
      border-radius: 10px;
      margin:auto;
      margin-bottom: 50px;
           }

.inner_boxx {
     padding:0px 12px;
    }
/*******************************************************************************************************
        2. publication box and dividend box
********************************************************************************************************/

/*A container that holds images in the publication box*/
.image_box  {
          top:10%;
          right:1%;
          position:absolute;}

/*A class that customizes the image in the right top of each publication box*/
.publication_img  {
          width:120px;
          height:160px;
          float:right;
          margin-right:10px;
          margin-top:10px;
          border: 1px solid #ccc;
          border-radius:6px;}

/** The download button in each of the boxes**/
.download_boxx {
        padding-top: 5%; }

/** Sets the font of the headline of the boxes **/
.head_line {
        margin-top: 25px;
        color: #007bff;
        font-size: 20px; }

/** A class that defines the body of the boxes**/
.column {
        float: right;
        width: 100%;	}

.card {}

/** A class that customizes the content of the boxes**/
.box_content {
        padding: 0 16px; }

/** A class that customizes the the paragraphes inside the boxes body**/
.box_content p {
        margin-bottom: 1px;
        line-height: 1.5;
                }
/** The horizontal rule below the headlines in each boxes**/
.hline {
        width:75%;}

.dividend{color:#555;}
/****************************************************************************************************
      Dividend Boxes
******************************************************************************************************/
/** The left hand tab in the dividend box**/
.tab   {
          float: left;
          border:none;
          border-right: 1px solid #ddd;
          background-color: white;
          width: 30%;
          height: 258px;
          border-top-left-radius: 10px;
          border-bottom-left-radius: 10px; }

/** The buttons in the tab of the dividend box**/
.tab button {
          display: block;
          background-color: rgba(0,123,255,0.1);
          color: #007bff;
          width: 100%;
          height:33.33333%;
          border:none;
          outline: none;
          text-align: center;
          cursor: pointer;
          transition: 0.3s;
          font-size: 18px;
          font-weight:600;  }

/** A class that sets the round edges of the tab buttons**/
.tab button:nth-child(1){
          border-top-left-radius: 10px;}

.tab button:nth-child(3){
          border-bottom-left-radius: 10px; }

/**This class customizes when the mouse hovers over the tab button**/
.tab button:hover {
          background-color: rgba(0,123,255,0.4);
          color: white;
          font-size:20px; }

/** A class that sets the look of active button**/
.tab button.active {
          background-color: rgba(0,123,255,0.7);
          color: white;  }

/** A class that sets the body of dividend box**/
.tabcontent {
          float: left;
          padding: 0px 12px;
          border: none;
          width: 70%;
          height: 260px; }

/**********************************************************************************************
     Proxy boxes
**********************************************************************************************/
/** A class that defines the look of the tab in the left hand side of the proxy box**/
.sidebar {
          float: left;
          border:none;
          border-right: 1px solid #ddd;
          background-color: white;
          width: 30%;
          height: 258px;
          border-top-left-radius: 10px;
          border-bottom-left-radius: 10px;    }

/** A class defines the 3 buttons in the tab of the box**/
.sidebar button {
          display: block;
          background-color: rgba(0,123,255,0.1);
          color: #007bff;
          width: 100%;
          height:33.33333%;
          border:none;
          outline: none;
          text-align: center;
          cursor: pointer;
          transition: 0.3s;
          font-size: 18px;
          font-weight:600; }

/** A class that made the round edges of the tab buttons**/
.sidebar button:nth-child(1){
          border-top-left-radius: 10px;}

.sidebar button:nth-child(3){
          border-bottom-left-radius: 10px; }

/** Sets what happens when the mouse hovers over the tab buttons**/
.sidebar button:hover {
          background-color: rgba(0,123,255,0.4);
          color: white;
          font-size:20px; }

/** A defines the look of the active button**/
.sidebar button.active {
          background-color: rgba(0,123,255,0.7);
          color: white; }

/** This class specifies the look of the body of the box**/
.asset {
         float: left;
         padding: 0px 12px;
         border: none;
         width: 65%;
         height: 260px; }


/*******************************************************************************************************
               3. responsiveness
*******************************************************************************************************/

/* This media rule specifies the changes in the properties of the
elements when the width is 730, 1160 and 390 pixel or less respectively*/
@media only screen and (max-width: 730px)  {
    .image_box img {display:none;}
    .hline  { width:100%; }
    .head_line{ text-align:center;} }
@media only screen and (max-width: 1160px)  {
    .boxx{ width:100%; } }
@media only screen and (max-width: 390px)  {
    .box_content p{  font-size:16px;
                   margin-bottom: 1px;
                   line-height: 1.2; }
           }
           
           .pdf_icon {
        background: url("../images/icons/pdf_icon.svg");
        background-size: cover;
        width: 80px;
        height: 80px;
}
