﻿
  body{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
}
h2{
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
color:#1c604a !important;
font-size:21px !important;

}
#s4-workspace{
 /* background-image: url("https://eservices.rc2.med.sa/SiteAssets/c2.jpg");*/
  background-color: #f5f5f5;
}
h1, .ms-h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 50px !important;
    color: #1c604a !important;
    font-weight: bold !important;
}
.ms-wikicontent , .ms-rtestate-field{
	padding-right: 0px !important;
}
#s4-bodyContainer{
padding-bottom: 0px !important;	
}
.container{
  width: 100%;
 margin: auto 0;
}

.details{
  text-align: center;
}

.details h2{
  color:#243238;
  font-size:50px;
  margin: 0;
}

.main-box{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin: auto;
}

.box{
  width: 231px;
  height: 307px;
  margin: 10px;
  text-align: center;
  padding: 40px 20px;
  color: #ffffff;
  position: relative;
  z-index: 2;
  border-radius: 5px;

}
@media only screen and (max-width: 614px)
{
	.box , .ms-rte-embedwp {
    width: 100%;
}
}

.box > * {
  position: relative;
  z-index: 2;
  color: #1c604a;
  font-weight: 700;
}

.box::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.box:hover::before{
  width: 95%;
  height: 95%;
  transition: all ease .50s;
}

.box .icon{
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #f0efeb;
  text-align: center;
  display: inline-block;
  position: relative;
  margin-bottom: 10px;
}

.box .icon .bi{
  color: #a9813b;
  font-size: 30px;
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
}

hr{
  margin-top: 25px;
  margin-bottom: 25px;
  display: block;
  width: 50%;
  border: 1px solid #c09955;

}

.box a{
 text-decoration: none;
    color: #ffffff;
    text-transform: uppercase;
    background-color: #a9813b;
    padding: 10px 25px;
    border-radius: 25px;
    margin-top: 25px;
    display: inline-block;
    font-weight: 600;}
.box a:hover{
  background-color:#1c604a ;
}

.box .white-border{
  border: 1px solid #ffffff;
}


.box-grey{
  background-color:#ffffff ;
  transition: all ease-in-out 0.4s;
}
h1{

color: #243238;
    font-size: 50px;
    font-weight: 700;
    }

.box-red{
  background-color:#1C604A;
}
#titlerow , #DeltaPlaceHolderPageTitleInTitleArea{
display:none;
}
.ms-pub-contentLayout{
padding:0px;

}
.contentwrapper{
margin:0px;
}
#contentBox {
     margin-right: 0px; 
     margin-left: 0px;
     min-width: 703px;
}
#suiteBar , #s4-titlerow , #sideNavBox{
display: none !important;
}
#sideNavBox {
    /* float: left; */
     margin-left: 0px; 
    margin-right: 0px; 
     width: 0px; 
}
.box-grey:hover {
    transform: translateY(-10px);
}
.d-flex {
    display: flex!important;
}

@media (min-width: 768px)
.col-md-6 {
    flex: 0 0 auto;
    width: 50%;
}
@media (min-width: 768px)
.justify-content-md-center {
    justify-content: center!important;
}

@media (max-width: 614px)
.box {
    width: 100%;
}
