/*
Theme Name: tmsolutions
Author: tnsolutions
Version: 1.0
Text Domain: tmsolutions
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Share+Tech&display=swap');


body {
    font-family: 'Share Tech', sans-serif;
    max-width: 100%;
    width: 100%;
    position: relative;
}

button, input, optgroup, select, textarea {
    font-family: 'Share Tech', sans-serif;
}

button, input[type="submit"] {
    border-radius: 25px;
    border: solid 1px;
    padding-right: 18px;
    padding-left: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
    min-width: 100px;
}

p, li, button {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
}

.bluhr {
    height: 7px !important;
    margin: 0;
    opacity: 1;
}

.blu {
    color: #009ccd;
}

.bg-blu {
    background-color: #009ccd;
}

.bluborder {
    border-color: #009ccd !important;
}

.bluhover:hover {
    background: #009ccd !important;
    color: white !important;
    font-weight: bold;
}

.whitehover:hover {
    background: white !important;
    color: #009ccd !important;
    font-weight: bold;
}

.lightblu {
    color: #73a6bb;
}

.bg-lightblu {
    background-color: #73a6bb;
}

a {
    color: inherit;
    text-decoration: none;
}

.wp-block-image img {
    width: 100%;
}

img {
    max-width: 100%;
}


.wrapper {
    max-width: 1920px !important;
    padding-left: 50px;
    padding-right: 50px;
    margin: auto;
}

.wrapcontainer {
    max-width: 1340px !important;
    padding-left: 50px;
    padding-right: 50px;
    margin: auto;
}

.v-center {
    position: relative;
    top: 50% !important;
    transform: translateY(-50%);
}

.t-none {
    text-decoration: none !important;
}

.h-fit {
    height: fit-content;
}

.w-fit {
    width: fit-content;
}

.mw-fit {
    min-width: fit-content;
}

@media (max-width: 575px) {
    .wrapper {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    .wrapcontainer{
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .wp-block-file{
        justify-content: center!important;
    }
    
    .wp-block-file a{
        margin-bottom: 10px!important;
    }
    /* pagina download */
    .wp-block-file *+.wp-block-file__button{
        justify-content: center!important;
        width: 100%;
        margin: 0!important;
    }
}

@media (min-width: 576px) and (max-width: 1399px) {
    .wrapper {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

@media (min-width: 1200px) {
    .h2, h2 {
        font-size: 2.2rem;
    }
}

/* MENU */
.menu .sub-menu{
    visibility: hidden;
    height: 0;
    
}
.menu li:hover>.sub-menu{
    visibility: visible;
    height: 100%;

}

.headermenu li:hover>.sub-menu, .footermenu li:hover>.sub-menu{
    padding-top: 5px;
    
}

/* HEADER */
.intro_navabar {
    font-size: 13px;
    background-color: black;
    font-family: 'Montserrat', sans-serif;;
}

/* navbar fisso */

.fix-navbar {
    font-size: 15px;
    background: white;
    position: sticky;
    top: -1px;
    z-index: 1000;
}

#logo {
    transition: 0.3s;
}

#menu-menu-1 {
    display: flex;
    margin-bottom: 0;
}

#menu-menu-1 li {
    list-style: none;
    position: relative;
}

#menu-menu-1 li a {
    padding: 10px;
    border: 2px solid transparent;
    text-transform: uppercase;
    font-weight: bold;
}

#menu-menu-1 li a:hover {
    border-color: #009ccd;
    border-radius: 20px;
    color: black;
}

/* sottomenu */
#menu-menu-1 .sub-menu{
    position: absolute;
    padding: 0;
    text-align: center;
    top: 30px;
    left: 0;
    padding-top: 33px;
    height: 100%!important;
    display: table;
}
#menu-menu-1 li:hover>.sub-menu, #menu-menu-1 li:hover>.sub-menu li{
    transform: rotateX(0deg);
    transition: 1s;
}


#menu-menu-1 .sub-menu li{
    transform: rotateX(90deg);
    /* transition: 1s; */
    padding-bottom: 3px;
    color: white;
}
#menu-menu-1 .sub-menu li:hover a{
    background-color: #009ccd!important;
}

#menu-menu-1 .sub-menu li a{
    background-color: #414559;
    padding: 15px;
    display: block;
    border: none!important;
    border-radius: 0;
    min-width: max-content;
}

#menu-menu-1 .sub-menu li a:hover{
    color: white!important;
}

/* Menu */
/* The side navigation menu */


.sidebar {
    height: 100%;
    width: 100%;
    max-width: 400px;
    position: fixed;
    z-index: 1501;
    top: 0px;
    left: -400px;
    background-color: white;
    overflow-x: hidden;
    transition: 0.5s;
}

.sidebar a {
    text-decoration: none;
    /* font-size: 25px;
    font-size: initial;
    display: block;
    transition: 0.3s; */
}

.sidebar a:hover {
    color: #00384c;
}

.sidebar::-webkit-scrollbar {
    width: 10px;
    overflow-y: scroll;
    background: #f1f1f1;
    /* box-shadow: inset 0 0 10px #707070; */
}

.sidebar::-webkit-scrollbar-thumb {
    height: 45px;
    background: #c1c1c1;
    /* background-image: linear-gradient(0deg, #00c689, #0081d4); */
    border-radius: 16px;
}

.sidebutton {
    background: none;
    border: none;
    min-width: fit-content;
}

.sidebuttoncontainer:hover .sidebutton, .sidebuttoncontainer:hover .allcategoriesheader {
    color: #f37021 !important;
}

.sidebutton:focus {
    outline: none;
}

.sidebarintext {
    background-color: black;
    border-bottom: solid 8px #009ccd;
    border-right: solid 8px #009ccd;
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 12px;
}

#catname {
    transition: 0.5s;
    left: 0px;
}



.headermenu ul.menu {
    padding-left: 0px;
    display: block!important;
}

.headermenu li {
    list-style: none;
    margin-bottom: 16px;
}

.headermenu li a {
    text-decoration: none;
    display: block;
}

.headermenu li a:hover {
    color: black;
    font-weight: bold;
}


/* Position and style the close button (top right corner) */
.closebtn {
    background: none;
    color: white;
    width: 30px;
}




/* slider */
.slider_shadow{
    text-shadow: 0px 0px 5px black;
}


/* FRONTPAGE */
/* box */
.boxcontainer {
    background-image: url("images/box_background.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-color: black;

}

.boxcontainer .box {
    background-color: rgb(84 119 185 / 50%);
    height: 100%;
}

.boxcontainer .box:hover {
    background-color: #009ccd !important;
    color: white;
}

.boxcontainer .box h4 {
    margin-bottom: 0;
    text-transform: uppercase;
}

.boxcontainer .box span {
    font-size: 70px;
}

.boxcontainer .box p {
    padding-right: 5px;
    padding-left: 5px;
    font-size: 15px;

}

/* services */
.servicescontainer {
    background-image: url("images/services_background.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.servicescontainer hr {
    height: 2px;
    opacity: 1;
}

.servicescontainer p, .servicescontainer li {
    font-size: 17px;
}

.servicescontainer ul {
    padding-left: 10px;
}

.servicescontainer li {
    padding-left: 5px;
    margin-bottom: 6px;
    font-weight: 500;
}

.servicescontainer li::marker {
    content: '\f111';
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    color: #009ccd;
    font-size: 10px;
}

.servicescontainer li:nth-child(even)::marker {
    color: #89c9e3;
}

/* linkedin */
.linkedincontainer {
    background-image: linear-gradient(180deg, #0087f0, #01bbfd);
}

.linkedincontainer a:hover{
    color: inherit!important;
}

.linkedincontainer .linkedinarticle .block1{
    border-radius: 15px 15px 0 0;
}
.linkedincontainer .linkedinarticle .block2{
    height: 180px;
    max-height: 180px;
    overflow: hidden;
}
.linkedincontainer .linkedinarticle .block2 img{
    min-height: 100%;
    transform: scale(1);
    transition: 1s;
}
.linkedincontainer .linkedinarticle .block2 img:hover{
    transform: scale(1.3);
    transition: 1s;
}
.linkedincontainer .linkedinarticle .block3{
    border-radius: 0 0 15px 15px;
}


/* parallax */
.parallaxcontainer {
    background-image: url("images/parallax.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-color: black;
}

/* contatti */
/* FORM CONTATTI */

.contactcontainer p {
    font-size: 17px;
}

.contactcontainer label {
    font-size: 13px;
    font-weight: 600;
}
.contactcontainer .form_contact{
    display: flex;
    flex-direction: column;
}

.contactcontainer .form-control {
    padding-left: 45px;
    border-radius: 0px;
}
.contactcontainer textarea{
    padding-left: 10px!important;
}

.contactcontainer i {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    color: #ced4da;
    height: 100%;
    max-height: 38px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contactcontainer i::after {
    content: '|';
    position: absolute;
    right: 0;
    height: 100%;
    max-height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #ced4da73;
}

.contactcontainer label::after {
    content: '*';
    color: #e02b27;
    font-size: 1.2rem;
    margin: 0 0 0 5px;
}

.contactcontainer input, .contactcontainer textarea {
    width: 100%;
    max-height: 160px;
}

.contactcontainer .richiesta::after {
    font-family: "Font Awesome 5 Free";
    content: '\f078';
    position: absolute;
    top: 0;
    right: 0;
    font-weight: bold;
    align-items: center;
    height: 100%;
    background: #0dbafb;
    display: flex;
    color: white;
    justify-content: center;
    width: 50px;
    font-size: 15px;
    pointer-events: none;
    max-height: 38px;
}

.contactcontainer .form_button input {
    color: black;
}

.contactcontainer input[type=checkbox] {
    width: auto !important;
}

.contactcontainer .privacy {
    font-size: 10px;
}

.contactcontainer .form-control:focus {
    border: 1px solid #3b95f1;
    box-shadow: 0 0 0 2px #009ccd61;
}

.contactcontainer .wpcf7-list-item {
    margin: 0;
}

.contactcontainer .wpcf7-spinner {
    position: absolute !important;
    left: -100% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* articoli */
.articlecontainer {
    background-image: linear-gradient(#a6a6a6, white, #a6a6a6);
}

.articlecontainer .articlecol:hover .block {
    transition: 0.3s;
    padding: 10px;
    position: relative;
    top: -10px;
    box-shadow: 0px 0 7px 4px #8680805c;
    /* box-shadow: 0px 39px 34px 0px #868080; */
}

.articlecontainer .articlecol:hover .decoration img {
    transition: 1s;
    top: 0px !important;
}

.articlecontainer .block {
    transition: 0.3s;
    position: relative;
    top: 0px;
    padding: 15px;
}

.articlecontainer .articlecol img{
    object-fit: cover;
    object-position: center;
}

.articlecontainer .date .day {
    font-size: 30px;
    margin-bottom: -10px;
}

.articlecontainer .date .monthYear {
    font-size: 9px;
}

.articlecontainer .articletitle {
    font-size: 18px;
}

.articlecontainer .articledescription {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
	max-height: 50px;
}

.articlecontainer .keepread {
    font-size: 12px;
}


.post-thumbnail-header {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 40%;
    min-height: 300px;
}
    .post-thumbnail{
        height: 150px;
    }

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.2s;
    object-position: center;
}

.post-thumbnail img:hover {
    scale: 1.3;
    transition: 0.2s;
}

.post-title {
    font-size: 20px;
    margin-top: 10px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    min-height: 3rem;
}

.post-excerpt {
    margin-top: 10px;
    margin-bottom: 10px;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    color: black;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    min-height: 4rem;
}

.pagination {
    justify-content: center;
}

.pagination {
    gap: 5px;
}

.pagination .current, .pagination .page-numbers:hover {
    border: solid #009ccd;
}

.pagination .page-numbers {

    width: 30px;
    aspect-ratio: 1 / 1;
    text-align: center;
    color: #009ccd;
    text-decoration: none;
    align-items: center;
    display: flex;
    justify-content: center;
}

/* FOOTER */


footer {
    background-color: black;
}

footer .footerinfo p {
    min-width: max-content;
}

footer .footermenu ul.menu{
    padding-left: 0;
}
footer  li{
    list-style: none;
}
footer .footermenu li a:hover{
    color: #009ccd;
}
.endfooter{
    font-size: 13px!important;
    font-family: 'Montserrat', sans-serif;
    background-color: #373737;
}

/* PAGE.PHP */
.bgpage {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.wp-block-navigation__container{
    gap: 5px!important;
}
.pagecontainer {
    background-image: url("images/services_background.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.page_menu svg{
    float: right;
    margin-right: 12px;
}

.page_menu ul{
    width: 100%;
}

.page_menu li.current-menu-item {
    background-color: #009ccd !important;
}

.page_menu li.current-menu-item::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 100%;
    left: -10px;
    background: #009ccd;
}

.page_menu li {
    background-color: #afb9bf !important;
    color: white;
    font-size: 15px;
    text-transform: uppercase;
    width: 100%;
    position: relative;
}
.page_menu li:hover{
    background-color: #009ccd!important;
}

.page_menu li a {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
    text-align: center;
    width: 100%;
}

/* download */
.wp-block-file {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0 !important;
    justify-content: space-between;
    border: solid 1px #80808078;
    border-bottom: none;
    padding: 8px;
}

.borderbottomcontainer {

    height: fit-content;
    border-bottom: solid 1px #80808078;
}

.wp-block-file a {
    display: flex;
    align-items: center;
}

.wp-block-file a::before {
    content: url("images/pdfIcon.png");
    margin-right: 15px;
    height: 46px;
}

.wp-block-file__button {
    background: #009ccd !important;
    text-transform: uppercase !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
    border-radius: 0 !important;
    font-size: 18px !important;
}

.wp-block-file__button::before {
    content: '' !important;
    margin: 0 !important;
    height: 0 !important;
}

/* blog */

.blogpage .articlecol:hover .articlecontent{
    border-color: #009ccd!important;
}

.blogpage .articlecontent{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.blogpage h2{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    font-size: 25px;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}
.blogpage img{
    height: auto;
    width: 350px!important;

}
