/*!
Theme Name: DmPrime
Theme URI: https://digimodulo.com/
Author: DigiModulo
Author URI: https://digimodulo.com/
Description: This is a minamalist theme for wordpress website developement by DigiModulo.
Version: 1.0.3
Tested up to Wordpress: 5.9
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: dmprime
Tags: custom-background, custom-logo, custom-menu, featured-images, custom post type, social network links
File:  categorysidepic.css
File description:  DmPrime wordpress theme css file for list of courses and blogs
*/

#dm-archive-content, #dm-post-content  {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    overflow: hidden;   
    background-color: #fdfdfd;
    font-family: 'Inter', sans-serif;
}

#dm-archive-content article header, #dm-post-content article header  {
    margin: 0;
    padding: 0;
    width: 100%;
}


#dm-archive-content .page-header, .error404 .page-header  {
    width: 700px;
    margin-left: auto;
    margin-right: auto;
}   

#dm-archive-content .page-header h1, .error404 .page-header h1  {
    margin-top: 2rem;
    font-family: 'Roboto', sans-serif;
    font-size: 39px;
    line-height: 1.1em;
    font-weight: 400;
    color: #00263e;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 5px;
    text-align: center;
}


#dm-archive-content .article-container  {
    display: grid;
    /*grid-template-columns: 1fr 4fr;*/
    grid-template-columns: 300px auto;
    /*align-items: flex-start;
    justify-content: flex-end;*/
    width: 95%;
    /*margin: 0 auto;*/ 
    /*background-color: rgba(5,83,141, .05);*/
    /*background-color: rgba(242,242,242);*/
    background-color: #f8f8f8;
    margin-left: 40px;
    margin-right: 0;
    margin-top: 80px;  
    margin-bottom: 10px;
    overflow: visible;
}

#dm-post-content .article-container  {
    display: grid;
    /*grid-template-columns: 2fr 3fr;*/
    grid-template-columns: 300px auto;
    /*align-items: flex-start;
    justify-content: flex-end;*/
    width: 90%;
    margin: 0 auto; 
    /*background-color: rgba(5,83,141, .05);*/
    margin-left: 40px;
    margin-top: 80px;  
    margin-bottom: 10px;
    overflow: visible;
}

#dm-archive-content .article-container img  {
    width: 300px;
    height: 300px;
    margin-left: 0px;
    /*object-fit: cover;*/
    transform: translate(-40px, -40px);
    /*
    outline: 1px solid white;
    outline-offset: -4px;
    */
    border: 1px solid #000;
}

#dm-post-content .article-container img  {
    width: 300px;
    height: 300px;
    margin-left: 0px;
    /*
    outline: 1px solid white;
    outline-offset: -4px;
    */
    border: 1px solid #000;
}


#dm-archive-content article header h1, #dm-post-content article header h1  {
    font-family: 'Roboto', sans-serif;
    font-size: 39px;
    line-height: 1.1em;
    font-weight: 400;
    color: #00263e;
}

#dm-archive-content article header h1 a, #dm-post-content article header h1 a  {
    text-decoration: none;
    color: #00263e;
}

#dm-archive-content article header h2, #dm-post-content article header h2  {
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    line-height: 1.1em;
    font-weight: 400;
    color: #00263e;
}

#dm-archive-content article header h2 a, #dm-post-content article header h2 a  {
    text-decoration: none;
    color: #00263e;
}

#dm-archive-content article header .posted-on, #dm-post-content article header .posted-on  {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding-left: 10px;
    padding-right: 20px;
    padding-top: 0px;
    padding-bottom:0px;
    /*text-align: right;*/
    color:  #808080;
}

#dm-archive-content article header .posted-on a, #dm-post-content article header .posted-on a   {
        color:  #808080;
        text-decoration: none;
}



.article-text {
    display: block;
    /*flex-direction: column;*/
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 20px;
    padding-bottom:20px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: justify;
    font-family: 'Inter', sans-serif;
}



.course-text {
    display: block;
    /* flex-direction: column;*/
    margin-bottom: 20px;
    padding-bottom:20px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: justify;
    font-family: 'Inter', sans-serif;
    /*flex-grow: 1;*/
}

.course-text h1, .course-text h2, .course-text h3  {
    font-family: 'Roboto', sans-serif;
}

.course-text button  {
    display: block;
    margin: auto;
    transition: all 0.4s ease 0s;
}

.course-datasheet {
    display: block;
    flex-direction: column;
    margin-bottom: 0px;
    padding-bottom:20px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
    font-family: 'Inter', sans-serif;
}

.course-datasheet p, .course-text p  {
    margin-top: 0;
    margin-bottom: 0;
}

.article-text header  {
    font-family: inherit;   
}


.article-text a  {
    text-decoration: none;
}

.article-text span{
    font-size: 11px;
}

.article-text p{
    font-size: 13px;
}

.entry-header  {
    text-align: justify;
}

.article-content  {
    margin: 20px 60px;
    font-family: 'Inter', sans-serif;
}

.article-content-header {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: justify;
}

.article-content-text {
    text-align: justify;
}

.article-content-header header  {
    font-family: inherit;   
}


.article-content img{
    /*
    max-width: 100%;
    max-height: auto;
    object-fit: cover;
    */
    margin-bottom: 20px;
}

.article-content-text span{
    font-size: 11px;
    margin: 0;
}

.article-content-text p  {
    font-size: 20px;
    margin: 3px 0;
}

.article-content-header header h2{
    margin: 0;
    padding: 0;
    line-height:1em;
    text-align: left;
}

.article-content-header header h1{
    margin: 0;
    padding: 0;
    line-height:1em;
    text-align: left;
}

#dm-post-content .nav-links {
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}

#dm-post-content .nav-links a  {
    text-decoration: none;
}

#dm-post-content .nav-links span  {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

.dm-post-img  {
    flex-grow: 0;
}

.entry-meta  {
    text-align: right;
    padding-bottom: 10px;
    /*overflow-y: auto;*/
}


#dm-archive-content article .entry-content p, #dm-post-content article .entry-content p {
    font-size: 20px;
    color: #00263e;;
}


.dm-go-to-archive a  {
    text-decoration: none;
    color: #00263e;
    text-align: left;
    margin-left: 20px;
}

.dm-post-img img  {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 500px;
    height: 500px;
    object-fit: cover;
    object-position: center;
}


/* Style the tab */
.tab-selector {
      overflow: hidden;
      border-bottom: 1px solid #ccc;
      background-color: transparent;
}

/* Style the buttons that are used to open the tab content */
.tab-selector button {
      background-color: inherit;
      float: left;
      border: none;
      outline: none;
      cursor: pointer;
      padding: 14px 16px;
      transition: 0.3s;
      border-radius: 100px;
      transition: all 0.4s ease 0s;
}

    /* Change background color of buttons on hover */
    .tab-selector button:hover {
      /*background-color: #ddd;*/
      background-color: rgba(5, 83, 141, .1);
    }

    /* Create an active/current tablink class */
    .tab-selector button.active {
      /*background-color: #ccc;*/
      background-color: rgba(5, 83, 141, .4);;
      color: #c63a42;
    }

    /* Style the tab content */
    .tab-item {
      //display: none;
      text-decoration: none;
      padding: 6px 12px;
      border-bottom: 1px solid #ccc;
      border-top: none;
      min-height: 20rem;
    }

    .tab-desc  {
        display: block;
    }

    .tab-det  {
        display: none;
    }   

    .tab-item {
      animation: fadeEffect 1s; /* Fading effect takes 1 second */
    }

    /* Go from zero to full opacity */
    @keyframes fadeEffect {
      from {opacity: 0;}
      to {opacity: 1;}
    }

/* Format contact button */

.dm-content-atendimento  {
    /* border: 2px solid #c63a42;*/
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.dm-content-atendimento p  {
    text-align: center;
    font-weight: 700;
    font-size: 28px;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.dm-content-atendimento  {
    margin-top: 30px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 40px;
}


.dm-content-atendimento button  {
    position: relative;
    width: 300px;
    background-color: #c63a42;
    border: 2px solid #c63a42;
    color: white;
    border-radius: 10px;
    text-shadow:none;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-size: 24px;
    height: 70px;
    padding: 20px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0.2rem;
    margin-left: auto;
    margin-right: auto; 
    transition: all 0.4s ease 0s;
}

.dm-content-atendimento button:hover  {
    color: white;
    background-color: rgb(105, 5, 51);  
    transition: all 0.4s ease 0s;
}

/* Format contact link */

.dm-content-link-externo  {
    /*border: 2px solid #c63a42;*/
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.dm-content-link-externo p  {
    text-align: center;
    font-weight: 700;
    font-size: 28px;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}



.dm-content-link-externo  {
    margin-top: 30px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 40px;
}


.dm-content-link-externo button  {
    position: relative;
    width: 300px;
    background-color: #c63a42;
    border: 2px solid #c63a42;
    color: white;
    border-radius: 10px;
    text-shadow:none;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-size: 24px;
    height: 70px;
    padding: 20px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0.2rem;
    margin-left: auto;
    margin-right: auto; 
    transition: all 0.4s ease 0s;
}

.dm-content-link-externo button:hover  {
    color: white;
    background-color: rgb(105, 5, 51);  
    transition: all 0.4s ease 0s;
}

/* Article Grid */
.article-grid  {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

/* Cursos em Destaque */


#dm-area-cursos-destaque .sp-pcp-post-thumb-area  {
  margin: 20px;
  padding: 3px;
  background-color: inherit;
  height: 420px;
  overflow: hidden;
  object-fit: contain;
  object-position: center;
}

#dm-area-cursos-destaque .sp-pcp-thumb img  {
    object-fit: contain;
    object-position: center;
    outline: none;
    border: 3px solid #d6d6d6;
    box-shadow: 1px 1px 10px -2px rgba(0, 0, 0, .25);
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    height: 400px;
}



#dm-area-cursos-destaque .sp-pcp-readmore a  {
    border-radius: 100px;
    border-color: #c63a42;
    color: #c63a42;
    display: block;
    margin-left: 20%;
    margin-right: 20%;
    text-align: center;
    font-family: 'Calibri', sans-serif;
    font-style: normal;
    font-size: 20px;
}

#dm-area-cursos-destaque .section-header  {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    margin-left: auto;
    margin-right: auto;
}

/* Robo Gallery */
.thumbnail-overlay  {
    display: none;
}


@media (max-width: 639px) { 

    #dm-archive-content, #dm-post-content  {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    #dm-archive-content .page-header, .error404 .page-header  {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }   


   #dm-archive-content .article-container  {
        grid-template-columns: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 80px;  
        margin-bottom: 10px;
        overflow: visible;
        background-color: #f8f8f8;
    }

    #dm-archive-content .article-container img  {
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-right: 0;
        transform: translate(0, 0);
        border: 1px solid #000;
    }

    #dm-post-content .article-container  {
        grid-template-columns: 100%;
        width: 100%;
        margin-left: 0;
        margin-top: 80px;  
        margin-bottom: 10px;
        margin-right: 0;
        overflow: visible;
        /*background-color: #f8f8f8;*/
    }

    #dm-post-content .article-container img {
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-right: 0;
        border: 1px solid #000;
        transform: translate(0, 0);
    }

 

    #dm-post-content .article-container h1 {
        padding-top: 20px;
        text-align: center;
    }

    .article-grid  {
        max-width: 90%;
        margin-top: 0;
        margin-bottom: 0;
        margin-left: auto;
        margin-right: auto;
    }

 

    #dm-area-cursos-destaque .sp-pcp-post-thumb-area  {
        margin: 0px;
        height: auto;
    }

    #dm-area-cursos-destaque .sp-pcp-thumb img  {
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
        height: auto;
    }

    #dm-area-cursos-destaque .sp-pcp-thumb img  {
        border: none;
        box-shadow: none;
    }

    #dm-area-cursos-destaque .sp-pcp-readmore a  {
        display: block;
        margin-left: 10%;
        margin-right: 10%;
    }


}

@media (min-width: 640px) {


    #dm-archive-content, #dm-post-content  {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    #dm-archive-content .page-header, .error404 .page-header  {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }   

    #dm-archive-content .article-container  {
        grid-template-columns: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 80px;  
        margin-bottom: 10px;
        overflow: visible;
        background-color: #f8f8f8;
    }

    #dm-archive-content .article-container img  {
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-right: 0;
        transform: translate(0, 0);
        border: 1px solid #000;
    }

    #dm-post-content .article-container  {
        grid-template-columns: 100%;
        width: 100%;
        margin-left: 0;
        margin-top: 80px;  
        margin-bottom: 10px;
        margin-right: 0;
        overflow: visible;
        /*background-color: #f8f8f8;*/
    }

    #dm-post-content .article-container img {
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-right: 0;
        border: 1px solid #000;
        transform: translate(0, 0);
    }



    #dm-post-content .article-container h1 {
        padding-top: 20px;
        text-align: center;
    }


    .article-grid  {
        max-width: 90%;
        margin-top: 0;
        margin-bottom: 0;
        margin-left: auto;
        margin-right: auto;
    }

    

    #dm-area-cursos-destaque .sp-pcp-post-thumb-area  {
        margin: 0px;
        height: auto;
    }

    #dm-area-cursos-destaque .sp-pcp-thumb img  {
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
        height: auto;
    }

    #dm-area-cursos-destaque .sp-pcp-thumb img  {
        border: none;
        box-shadow: none;
    }


    #dm-area-cursos-destaque .sp-pcp-readmore a  {
        display: block;
        margin-left: 10%;
        margin-right: 10%;
    }


}

@media (min-width:960px) {

    #dm-archive-content, #dm-post-content  {
        max-width: 1140px;
        margin-left: auto;
        margin-right: auto;
    }

    #dm-archive-content .page-header, .error404 .page-header  {
        width: 700px;
        margin-left: auto;
        margin-right: auto;
    }   

    #dm-archive-content .article-container  {
        grid-template-columns: 300px auto;
        width: 95%;
        margin-left: 40px;
        margin-right: 0;
        margin-top: 80px;  
        margin-bottom: 10px;
        overflow: visible;
        background-color: #f8f8f8;
    }

    #dm-archive-content .article-container img  {
        width: 300px;
        height: 300px;
        margin-left: 0px;
        transform: translate(-40px, -40px);
        border: 1px solid #000;
    }

    #dm-post-content .article-container  {
        grid-template-columns: 300px auto;
        width: 90%;
        margin-left: 40px;
        margin-top: 80px;  
        margin-bottom: 10px;
        margin-right: auto;
        overflow: visible;
        /*background-color: #f8f8f8;*/
    }

    #dm-post-content .article-container img {
        width: 300px;
        height: 300px;
        margin-left: 0px;
        border: 1px solid #000;
        transform: translate(-40px, -40px);
    }

    #dm-post-content .article-container h1 {
        padding-top: 0;
        text-align: left;
    }

    .article-grid  {
        max-width: 1170px;
        margin: 0 auto;
    }

    #dm-area-cursos-destaque .sp-pcp-post-thumb-area  {
        margin: 20px;
        height: 420px;
    }

    #dm-area-cursos-destaque .sp-pcp-thumb img  {
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: auto;
        margin-right: auto;
        width: auto;
        height: 400px;
    }


    #dm-area-cursos-destaque .sp-pcp-thumb img  {
        border: 3px solid #d6d6d6;
        box-shadow: 1px 1px 10px -2px rgba(0, 0, 0, .25);
    }

    

    #dm-area-cursos-destaque .sp-pcp-readmore a  {
        display: block;
        margin-left: 20%;
        margin-right: 20%;
    }


}

@media (min-width:1100px) { 

    #dm-archive-content, #dm-post-content  {
        max-width: 1140px;
        margin-left: auto;
        margin-right: auto;
    }

    #dm-archive-content .page-header, .error404 .page-header  {
        width: 700px;
        margin-left: auto;
        margin-right: auto;
    }   

    #dm-archive-content .article-container  {
        grid-template-columns: 300px auto;
        width: 95%;
        margin-left: 40px;
        margin-right: 0;
        margin-top: 80px;  
        margin-bottom: 10px;
        overflow: visible;
        background-color: #f8f8f8;
    }

    #dm-archive-content .article-container img  {
        width: 300px;
        height: 300px;
        margin-left: 0px;
        transform: translate(-40px, -40px);
        border: 1px solid #000;
    }

    #dm-post-content .article-container  {
        grid-template-columns: 300px auto;
        width: 90%;
        margin-left: 40px;
        margin-top: 80px;  
        margin-bottom: 10px;
        margin-right: auto;
        overflow: visible;
        /*background-color: #f8f8f8;*/
    }

    #dm-post-content .article-container img {
        width: 300px;
        height: 300px;
        margin-left: 0px;
        border: 1px solid #000;
        transform: translate(-40px, -40px);
    }

    #dm-post-content .article-container h1 {
        padding-top: 0;
        text-align: left;
    }

    .article-grid  {
        max-width: 1170px;
        margin: 0 auto;
    }

    
    #dm-area-cursos-destaque .sp-pcp-post-thumb-area  {
        margin: 20px;
        height: 420px;
    }

    #dm-area-cursos-destaque .sp-pcp-thumb img  {
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: auto;
        margin-right: auto;
        width: auto;
        height: 400px;
    }


    #dm-area-cursos-destaque .sp-pcp-thumb img  {
        border: 3px solid #d6d6d6;
        box-shadow: 1px 1px 10px -2px rgba(0, 0, 0, .25);
    }

    

    #dm-area-cursos-destaque .sp-pcp-readmore a  {
        display: block;
        margin-left: 20%;
        margin-right: 20%;
    }


}

